mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
Don't use native mac widgets with Qt5
This commit is contained in:
committed by
Uwe L. Korn
parent
f542c4846a
commit
bf0420945a
@@ -459,10 +459,21 @@ IF( APPLE )
|
||||
SET( libSources ${libSources}
|
||||
utils/TomahawkUtils_Mac.mm
|
||||
mac/FileHelpers.mm
|
||||
widgets/SourceTreePopupDialog_mac.mm )
|
||||
|
||||
if( BUILD_WITH_QT4 )
|
||||
list(APPEND libSources
|
||||
thirdparty/Qocoa/qbutton_mac.mm
|
||||
thirdparty/Qocoa/qsearchfield_mac.mm
|
||||
thirdparty/Qocoa/qtoolbartabdialog_mac.mm
|
||||
widgets/SourceTreePopupDialog_mac.mm )
|
||||
)
|
||||
else()
|
||||
list(APPEND libSources
|
||||
thirdparty/Qocoa/qbutton.cpp
|
||||
thirdparty/Qocoa/qsearchfield.cpp
|
||||
thirdparty/Qocoa/qtoolbartabdialog.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
SET_SOURCE_FILES_PROPERTIES(utils/TomahawkUtils_Mac.mm PROPERTIES COMPILE_FLAGS "-fvisibility=default")
|
||||
|
||||
|
Reference in New Issue
Block a user