Remove QT_DLL and QT_NODLL defines.
authorStephen Kelly <stephen.kelly@kdab.com>
Fri, 7 Dec 2012 11:39:12 +0000 (12:39 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 11 Dec 2012 12:37:57 +0000 (13:37 +0100)
Task-number: QTBUG-28044

Change-Id: Ib8c4e1e8e52703aa6590875c34f05b6bc71db808
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
mkspecs/features/qt.prf
src/widgets/widgets/qmenu_wince.rc

index 0735ec4..30bbae7 100644 (file)
@@ -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
index 50624ee..631cd9d 100644 (file)
@@ -3,9 +3,9 @@
 #include <commctrl.h>
 #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