Clean up the use of QT_NODLL
QT_NODLL is replaced by QT_STATIC, but the latter is implied if QT_BOOTSTRAPPED is already defined. Therefore, simply remove the QT_NODLL definitions. Change-Id: Iac7ec0b494b7a78197c25d59547f45eaf92d7465 Reviewed-by: Mark Brand <mabrand@mabrand.nl> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
parent
96166fa56a
commit
7395e6abc6
@ -38,7 +38,7 @@ CFLAGS_BARE = -c -Fo./ \
|
||||
-I$(BUILD_PATH)\src\corelib\global \
|
||||
-I$(SOURCE_PATH)\mkspecs\$(QMAKESPEC) \
|
||||
-I$(SOURCE_PATH)\tools\shared \
|
||||
-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL \
|
||||
-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT \
|
||||
-DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD \
|
||||
-DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_BOOTSTRAPPED
|
||||
CFLAGS = -Yuqmake_pch.h -FIqmake_pch.h -Fpqmake_pch.pch $(CFLAGS_BARE) $(CFLAGS)
|
||||
|
@ -49,7 +49,7 @@ CFLAGS = -c -o$@ -O \
|
||||
-I$(SOURCE_PATH)/mkspecs/win32-g++ \
|
||||
-I$(SOURCE_PATH)/tools/shared \
|
||||
-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT \
|
||||
-DQT_NODLL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP \
|
||||
-DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP \
|
||||
-DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM \
|
||||
-DQT_BOOTSTRAPPED
|
||||
CXXFLAGS = $(CFLAGS)
|
||||
|
@ -33,7 +33,7 @@ contains(QT_EDITION, OpenSource) {
|
||||
}
|
||||
|
||||
bootstrap { #Qt code
|
||||
DEFINES+=QT_NODLL QT_NO_THREAD
|
||||
DEFINES+=QT_NO_THREAD
|
||||
SOURCES+= \
|
||||
qbitarray.cpp \
|
||||
qbuffer.cpp \
|
||||
|
@ -23,8 +23,6 @@ DEFINES += \
|
||||
QT_NO_USING_NAMESPACE \
|
||||
QT_NO_DEPRECATED
|
||||
|
||||
win32:DEFINES += QT_NODLL
|
||||
|
||||
INCLUDEPATH += $$QT_BUILD_TREE/include \
|
||||
$$QT_BUILD_TREE/include/QtCore \
|
||||
$$QT_BUILD_TREE/include/QtCore/$$QT_VERSION \
|
||||
|
@ -27,8 +27,6 @@ DEFINES += \
|
||||
QT_NO_USING_NAMESPACE \
|
||||
QT_NO_DEPRECATED
|
||||
|
||||
win32:DEFINES += QT_NODLL
|
||||
|
||||
INCLUDEPATH += $$QT_BUILD_TREE/include \
|
||||
$$QT_BUILD_TREE/include/QtCore \
|
||||
$$QT_BUILD_TREE/include/QtCore/$$QT_VERSION \
|
||||
|
@ -5,7 +5,7 @@ CONFSRC = $(TOOLSRC)/configure
|
||||
RAW_PCH = configure_pch.h
|
||||
PCH = $(RAW_PCH).gch/c++
|
||||
CXX = g++
|
||||
DEFINES = -DUNICODE -DQT_NODLL -DQT_NO_DATASTREAM -DQT_NO_CODECS -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -D_CRT_SECURE_NO_DEPRECATE -DQT_BOOTSTRAPPED -DCOMMERCIAL_VERSION
|
||||
DEFINES = -DUNICODE -DQT_NO_DATASTREAM -DQT_NO_CODECS -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -D_CRT_SECURE_NO_DEPRECATE -DQT_BOOTSTRAPPED -DCOMMERCIAL_VERSION
|
||||
INCPATH = -I"../../include" -I"../../include/QtCore" -I"../../include/QtCore/$(QTVERSION)" -I"../../include/QtCore/$(QTVERSION)/QtCore" -I"$(TOOLSRC)/shared" -I"$(QTSRC)mkspecs/win32-g++"
|
||||
CXXFLAGS_BARE = -fno-rtti -fno-exceptions -mthreads -Wall -Wextra $(DEFINES) $(INCPATH)
|
||||
CXXFLAGS = -include $(RAW_PCH) $(CXXFLAGS_BARE)
|
||||
|
@ -3,7 +3,7 @@ TOOLSRC = $(QTSRC)tools
|
||||
CONFSRC = $(TOOLSRC)\configure
|
||||
|
||||
PCH = configure_pch.pch
|
||||
DEFINES = -DUNICODE -DQT_NODLL -DQT_NO_CODECS -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -D_CRT_SECURE_NO_DEPRECATE -DQT_BOOTSTRAPPED -DCOMMERCIAL_VERSION
|
||||
DEFINES = -DUNICODE -DQT_NO_CODECS -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -D_CRT_SECURE_NO_DEPRECATE -DQT_BOOTSTRAPPED -DCOMMERCIAL_VERSION
|
||||
INCPATH = -I"..\..\include" -I"..\..\include\QtCore" -I"..\..\include\QtCore\$(QTVERSION)" -I"..\..\include\QtCore\$(QTVERSION)\QtCore" -I"$(TOOLSRC)\shared" -I"$(QTSRC)mkspecs\win32-msvc2008"
|
||||
CXXFLAGS_BARE = -nologo -Zm200 -Zc:wchar_t -MT -W3 -GR -EHsc -w34100 -w34189 $(EXTRA_CXXFLAGS) $(DEFINES) $(INCPATH)
|
||||
CXXFLAGS = -FIconfigure_pch.h -Yuconfigure_pch.h -Fp$(PCH) -MP $(CXXFLAGS_BARE)
|
||||
|
@ -3,7 +3,7 @@ DESTDIR = $$PWD/../.. # build directly in source dir
|
||||
|
||||
CONFIG += console flat stl rtti_off
|
||||
CONFIG -= moc qt
|
||||
DEFINES = UNICODE QT_NODLL QT_NO_CODECS QT_NO_TEXTCODEC QT_NO_UNICODETABLES QT_LITE_COMPONENT QT_NO_COMPRESS QT_NO_THREAD QT_NO_QOBJECT QT_NO_GEOM_VARIANT _CRT_SECURE_NO_DEPRECATE
|
||||
DEFINES = UNICODE QT_NO_CODECS QT_NO_TEXTCODEC QT_NO_UNICODETABLES QT_LITE_COMPONENT QT_NO_COMPRESS QT_NO_THREAD QT_NO_QOBJECT QT_NO_GEOM_VARIANT _CRT_SECURE_NO_DEPRECATE
|
||||
DEFINES += QT_BOOTSTRAPPED
|
||||
|
||||
win32 : LIBS += -lole32 -ladvapi32
|
||||
|
Loading…
Reference in New Issue
Block a user