tools/configure: enable QStringBuilder
... by adding define QT_USE_QSTRINGBUILDER. Change-Id: I89bfdff3f4fc2585649b586ebb5414831cb76765 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
parent
282ebf9bd2
commit
bfe86cb642
@ -4,7 +4,7 @@ CONFSRC = $(TOOLSRC)/configure
|
|||||||
|
|
||||||
RAW_PCH = configure_pch.h
|
RAW_PCH = configure_pch.h
|
||||||
PCH = $(RAW_PCH).gch/c++
|
PCH = $(RAW_PCH).gch/c++
|
||||||
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 -DQT_BUILD_CONFIGURE -DQT_VERSION_STR=\"$(QTVERSION)\" -DQT_VERSION_MAJOR=$(QT_VERSION_MAJOR) -DQT_VERSION_MINOR=$(QT_VERSION_MINOR) -DQT_VERSION_PATCH=$(QT_VERSION_PATCH)
|
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 -DQT_BUILD_CONFIGURE -DQT_USE_QSTRINGBUILDER -DQT_VERSION_STR=\"$(QTVERSION)\" -DQT_VERSION_MAJOR=$(QT_VERSION_MAJOR) -DQT_VERSION_MINOR=$(QT_VERSION_MINOR) -DQT_VERSION_PATCH=$(QT_VERSION_PATCH)
|
||||||
INCPATH = -I"../../include" -I"../../include/QtCore" -I"../../include/QtCore/$(QTVERSION)" -I"../../include/QtCore/$(QTVERSION)/QtCore" -I"$(TOOLSRC)/shared" -I"$(QTSRC)mkspecs/win32-g++"
|
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 = -std=c++11 -fno-rtti -fno-exceptions -mthreads -Wall -Wextra $(DEFINES) $(INCPATH)
|
CXXFLAGS_BARE = -std=c++11 -fno-rtti -fno-exceptions -mthreads -Wall -Wextra $(DEFINES) $(INCPATH)
|
||||||
CXXFLAGS = -include $(RAW_PCH) $(CXXFLAGS_BARE)
|
CXXFLAGS = -include $(RAW_PCH) $(CXXFLAGS_BARE)
|
||||||
@ -62,6 +62,7 @@ OBJECTS = \
|
|||||||
qregexp.o \
|
qregexp.o \
|
||||||
qstring.o \
|
qstring.o \
|
||||||
qstring_compat.o \
|
qstring_compat.o \
|
||||||
|
qstringbuilder.o \
|
||||||
qstringlist.o \
|
qstringlist.o \
|
||||||
qvsnprintf.o \
|
qvsnprintf.o \
|
||||||
qvariant.o \
|
qvariant.o \
|
||||||
|
@ -2,7 +2,7 @@ CORESRC = $(QTSRC)src\corelib
|
|||||||
TOOLSRC = $(QTSRC)tools
|
TOOLSRC = $(QTSRC)tools
|
||||||
CONFSRC = $(TOOLSRC)\configure
|
CONFSRC = $(TOOLSRC)\configure
|
||||||
|
|
||||||
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 -DQT_BUILD_CONFIGURE -DQT_VERSION_STR=\"$(QTVERSION)\" -DQT_VERSION_MAJOR=$(QT_VERSION_MAJOR) -DQT_VERSION_MINOR=$(QT_VERSION_MINOR) -DQT_VERSION_PATCH=$(QT_VERSION_PATCH)
|
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 -DQT_BUILD_CONFIGURE -DQT_USE_QSTRINGBUILDER -DQT_VERSION_STR=\"$(QTVERSION)\" -DQT_VERSION_MAJOR=$(QT_VERSION_MAJOR) -DQT_VERSION_MINOR=$(QT_VERSION_MINOR) -DQT_VERSION_PATCH=$(QT_VERSION_PATCH)
|
||||||
INCPATH = -I"..\..\include" -I"..\..\include\QtCore" -I"..\..\include\QtCore\$(QTVERSION)" -I"..\..\include\QtCore\$(QTVERSION)\QtCore" -I"$(TOOLSRC)\shared" -I"$(QTSRC)mkspecs\win32-msvc2012"
|
INCPATH = -I"..\..\include" -I"..\..\include\QtCore" -I"..\..\include\QtCore\$(QTVERSION)" -I"..\..\include\QtCore\$(QTVERSION)\QtCore" -I"$(TOOLSRC)\shared" -I"$(QTSRC)mkspecs\win32-msvc2012"
|
||||||
CXXFLAGS_BARE = -nologo -Zc:wchar_t -W3 -GR -EHsc -w34100 -w34189 -wd4577 $(CFLAGS_CRT) $(EXTRA_CXXFLAGS) $(DEFINES) $(INCPATH)
|
CXXFLAGS_BARE = -nologo -Zc:wchar_t -W3 -GR -EHsc -w34100 -w34189 -wd4577 $(CFLAGS_CRT) $(EXTRA_CXXFLAGS) $(DEFINES) $(INCPATH)
|
||||||
!IF ("$(CXX)" != "clang-cl")
|
!IF ("$(CXX)" != "clang-cl")
|
||||||
@ -67,6 +67,7 @@ OBJECTS = \
|
|||||||
qregexp.obj \
|
qregexp.obj \
|
||||||
qstring.obj \
|
qstring.obj \
|
||||||
qstring_compat.obj \
|
qstring_compat.obj \
|
||||||
|
qstringbuilder.obj \
|
||||||
qstringlist.obj \
|
qstringlist.obj \
|
||||||
qvsnprintf.obj \
|
qvsnprintf.obj \
|
||||||
qvariant.obj \
|
qvariant.obj \
|
||||||
@ -141,6 +142,7 @@ qdatetime.obj: $(CORESRC)\tools\qdatetime.cpp $(PCH)
|
|||||||
qmap.obj: $(CORESRC)\tools\qmap.cpp $(PCH)
|
qmap.obj: $(CORESRC)\tools\qmap.cpp $(PCH)
|
||||||
qregexp.obj: $(CORESRC)\tools\qregexp.cpp $(PCH)
|
qregexp.obj: $(CORESRC)\tools\qregexp.cpp $(PCH)
|
||||||
qstring.obj: $(CORESRC)\tools\qstring.cpp $(PCH)
|
qstring.obj: $(CORESRC)\tools\qstring.cpp $(PCH)
|
||||||
|
qstringbuilder.obj: $(CORESRC)\tools\qstringbuilder.cpp $(PCH)
|
||||||
qstringlist.obj: $(CORESRC)\tools\qstringlist.cpp $(PCH)
|
qstringlist.obj: $(CORESRC)\tools\qstringlist.cpp $(PCH)
|
||||||
qvsnprintf.obj: $(CORESRC)\tools\qvsnprintf.cpp $(PCH)
|
qvsnprintf.obj: $(CORESRC)\tools\qvsnprintf.cpp $(PCH)
|
||||||
qvariant.obj: $(CORESRC)\kernel\qvariant.cpp $(PCH)
|
qvariant.obj: $(CORESRC)\kernel\qvariant.cpp $(PCH)
|
||||||
|
@ -3,7 +3,7 @@ DESTDIR = $$PWD/../.. # build directly in source dir
|
|||||||
|
|
||||||
CONFIG += console flat stl rtti_off
|
CONFIG += console flat stl rtti_off
|
||||||
CONFIG -= moc qt
|
CONFIG -= moc qt
|
||||||
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 = 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 QT_USE_QSTRINGBUILDER
|
||||||
DEFINES += QT_BOOTSTRAPPED QT_BUILD_CONFIGURE
|
DEFINES += QT_BOOTSTRAPPED QT_BUILD_CONFIGURE
|
||||||
|
|
||||||
win32 : LIBS += -lole32 -ladvapi32
|
win32 : LIBS += -lole32 -ladvapi32
|
||||||
@ -70,6 +70,7 @@ HEADERS = configureapp.h environment.h tools.h\
|
|||||||
$$QT_SOURCE_TREE/src/corelib/tools/qregexp.h \
|
$$QT_SOURCE_TREE/src/corelib/tools/qregexp.h \
|
||||||
$$QT_SOURCE_TREE/src/corelib/tools/qringbuffer_p.h \
|
$$QT_SOURCE_TREE/src/corelib/tools/qringbuffer_p.h \
|
||||||
$$QT_SOURCE_TREE/src/corelib/tools/qstring.h \
|
$$QT_SOURCE_TREE/src/corelib/tools/qstring.h \
|
||||||
|
$$QT_SOURCE_TREE/src/corelib/tools/qstringbuilder.h \
|
||||||
$$QT_SOURCE_TREE/src/corelib/tools/qstringlist.h \
|
$$QT_SOURCE_TREE/src/corelib/tools/qstringlist.h \
|
||||||
$$QT_SOURCE_TREE/src/corelib/tools/qstringmatcher.h \
|
$$QT_SOURCE_TREE/src/corelib/tools/qstringmatcher.h \
|
||||||
$$QT_SOURCE_TREE/src/corelib/tools/qunicodetables_p.h \
|
$$QT_SOURCE_TREE/src/corelib/tools/qunicodetables_p.h \
|
||||||
@ -122,6 +123,7 @@ SOURCES = main.cpp configureapp.cpp environment.cpp tools.cpp \
|
|||||||
$$QT_SOURCE_TREE/src/corelib/tools/qregexp.cpp \
|
$$QT_SOURCE_TREE/src/corelib/tools/qregexp.cpp \
|
||||||
$$QT_SOURCE_TREE/src/corelib/tools/qringbuffer.cpp \
|
$$QT_SOURCE_TREE/src/corelib/tools/qringbuffer.cpp \
|
||||||
$$QT_SOURCE_TREE/src/corelib/tools/qstring.cpp \
|
$$QT_SOURCE_TREE/src/corelib/tools/qstring.cpp \
|
||||||
|
$$QT_SOURCE_TREE/src/corelib/tools/qstringbuilder.cpp \
|
||||||
$$QT_SOURCE_TREE/src/corelib/tools/qstring_compat.cpp \
|
$$QT_SOURCE_TREE/src/corelib/tools/qstring_compat.cpp \
|
||||||
$$QT_SOURCE_TREE/src/corelib/tools/qstringlist.cpp \
|
$$QT_SOURCE_TREE/src/corelib/tools/qstringlist.cpp \
|
||||||
$$QT_SOURCE_TREE/src/corelib/tools/qvsnprintf.cpp \
|
$$QT_SOURCE_TREE/src/corelib/tools/qvsnprintf.cpp \
|
||||||
|
Loading…
Reference in New Issue
Block a user