mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Define Qt5 C++11 macros for Qt4
This commit is contained in:
@@ -214,6 +214,11 @@ if( NOT Qt5Core_DIR )
|
|||||||
|
|
||||||
include( ${QT_USE_FILE} )
|
include( ${QT_USE_FILE} )
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
# Qt5 C++11 Macros not defined within Qt4
|
||||||
|
# TODO: Add C++11 support
|
||||||
|
add_definitions( "-DQ_DECL_FINAL" )
|
||||||
|
add_definitions( "-DQ_DECL_OVERRIDE" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if( Qt5Core_DIR )
|
if( Qt5Core_DIR )
|
||||||
|
Reference in New Issue
Block a user