diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf index 0735ec465c..30bbae7c64 100644 --- a/mkspecs/features/qt.prf +++ b/mkspecs/features/qt.prf @@ -2,17 +2,12 @@ CONFIG *= thread #handle defines win32 { - # ### QT_NODLL and QT_DLL are compatibility, remove before the Qt 5.0 release contains(QT_CONFIG, shared) { - DEFINES += QT_DLL - # this variable is read by qmake in qmake/generators/win32/msvc_vcproj.cpp # function VcprojGenerator::initDeploymentTool(), which contains some hardcoded # library names (the ones that were static in Qt 4) # it probably doesn't work anymore and should not be in this file QMAKE_QT_DLL = 1 - } else { - DEFINES += QT_NODLL } } CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG diff --git a/src/widgets/widgets/qmenu_wince.rc b/src/widgets/widgets/qmenu_wince.rc index 50624eef57..631cd9d47a 100644 --- a/src/widgets/widgets/qmenu_wince.rc +++ b/src/widgets/widgets/qmenu_wince.rc @@ -3,9 +3,9 @@ #include #include "winuser.h" -#if defined (_DEBUG) && defined(QT_DLL) +#if defined (_DEBUG) && defined(QT_SHARED) #include "Qt5Widgetsd_resource.rc" -#elif defined(QT_DLL) +#elif defined(QT_SHARED) #include "Qt5Widgets_resource.rc" #endif