summaryrefslogtreecommitdiffstats
path: root/qmake/qmake.pri
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2018-08-02 16:41:14 +0200
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2018-08-06 10:25:50 +0000
commita09a28879e76bb011e0eefe0be0219ce396362d9 (patch)
treeddc177e17a41acc8cc2d73a8fbc3f30b799910ff /qmake/qmake.pri
parent5d1809be83c667fc72f58b84d95fbe3e37451350 (diff)
qmake: improve the fake project
qt creator's clang code model is a bit more picky than the old one, so we need a project that approximately works. while we're at it, inline qmake.pri, add some missing files, and beautify the source lists. Change-Id: I87ca1db2ee3e55ea08e4c23f7913e882ab44fd21 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qmake/qmake.pri')
-rw-r--r--qmake/qmake.pri169
1 files changed, 0 insertions, 169 deletions
diff --git a/qmake/qmake.pri b/qmake/qmake.pri
deleted file mode 100644
index f6f6a47e95..0000000000
--- a/qmake/qmake.pri
+++ /dev/null
@@ -1,169 +0,0 @@
-
-#qmake code
-SOURCES += project.cpp property.cpp main.cpp \
- library/ioutils.cpp library/proitems.cpp library/qmakevfs.cpp library/qmakeglobals.cpp \
- library/qmakeparser.cpp library/qmakeevaluator.cpp library/qmakebuiltins.cpp \
- generators/makefile.cpp \
- generators/unix/unixmake2.cpp generators/unix/unixmake.cpp meta.cpp \
- option.cpp generators/win32/winmakefile.cpp generators/win32/mingw_make.cpp \
- generators/makefiledeps.cpp generators/metamakefile.cpp generators/mac/pbuilder_pbx.cpp \
- generators/xmloutput.cpp \
- generators/win32/msvc_nmake.cpp generators/projectgenerator.cpp \
- generators/win32/msvc_vcproj.cpp \
- generators/win32/msvc_vcxproj.cpp \
- generators/win32/msvc_objectmodel.cpp generators/win32/msbuild_objectmodel.cpp
-
-HEADERS += project.h property.h \
- library/qmake_global.h library/ioutils.h library/proitems.h library/qmakevfs.h library/qmakeglobals.h \
- library/qmakeparser.h library/qmakeevaluator.h library/qmakeevaluator_p.h \
- generators/makefile.h \
- generators/unix/unixmake.h meta.h option.h cachekeys.h \
- generators/win32/winmakefile.h generators/win32/mingw_make.h generators/projectgenerator.h \
- generators/makefiledeps.h generators/metamakefile.h generators/mac/pbuilder_pbx.h \
- generators/xmloutput.h generators/win32/msvc_nmake.h \
- generators/win32/msvc_vcproj.h \
- generators/win32/msvc_vcxproj.h \
- generators/win32/msvc_objectmodel.h generators/win32/msbuild_objectmodel.h
-
-bootstrap { #Qt code
- SOURCES+= \
- qbitarray.cpp \
- qbuffer.cpp \
- qarraydata.cpp \
- qbytearray.cpp \
- qbytearraymatcher.cpp \
- qcryptographichash.cpp \
- qdatetime.cpp \
- qdir.cpp \
- qdiriterator.cpp \
- qfiledevice.cpp \
- qfile.cpp \
- qabstractfileengine.cpp \
- qfileinfo.cpp \
- qfilesystementry.cpp \
- qfilesystemengine.cpp \
- qfsfileengine.cpp \
- qfsfileengine_iterator.cpp \
- qglobal.cpp \
- qnumeric.cpp \
- qhash.cpp \
- qiodevice.cpp \
- qlist.cpp \
- qlinkedlist.cpp \
- qlocale.cpp \
- qlocale_tools.cpp \
- qmalloc.cpp \
- qmap.cpp \
- qmetatype.cpp \
- qregexp.cpp \
- qtextcodec.cpp \
- qutfcodec.cpp \
- qstring.cpp \
- qstring_compat.cpp \
- qstringlist.cpp \
- qtemporaryfile.cpp \
- qtextstream.cpp \
- quuid.cpp \
- qsettings.cpp \
- qlibraryinfo.cpp \
- qsystemerror.cpp \
- qvariant.cpp \
- qversionnumber.cpp \
- qvsnprintf.cpp \
- qxmlstream.cpp \
- qxmlutils.cpp \
- qlogging.cpp \
- qjson.cpp \
- qjsondocument.cpp \
- qjsonparser.cpp \
- qjsonarray.cpp \
- qjsonobject.cpp \
- qjsonvalue.cpp
-
- HEADERS+= \
- qbitarray.h \
- qbuffer.h \
- qarraydata.h \
- qbytearray.h \
- qarraydataops.h \
- qarraydatapointer.h \
- qbytearraymatcher.h \
- qchar.h \
- qcryptographichash.h \
- qdatetime.h \
- qdatetime_p.h \
- qdir.h \
- qdir_p.h \
- qdiriterator.h \
- qfile.h \
- qabstractfileengine_p.h \
- qfileinfo.h \
- qglobal.h \
- qnumeric.h \
- qhash.h \
- qiodevice.h \
- qlist.h \
- qlinkedlist.h \
- qlocale.h \
- qlocale_tools_p.h \
- qmalloc.h \
- qmap.h \
- qmetatype.h \
- qregexp.h \
- qtextcodec.h \
- qutfcodec.h \
- qstring.h \
- qstringlist.h \
- qstringmatcher.h \
- qsystemerror_p.h \
- qtemporaryfile.h \
- qtextstream.h \
- quuid.h \
- qvector.h \
- qversionnumber.h \
- qxmlstream.h \
- qxmlutils.h \
- qjson.h \
- qjsondocument.h \
- qjsonparser.h \
- qjsonwriter.h \
- qjsonarray.h \
- qjsonobject.h \
- qjsonvalue.h
-
- unix {
- SOURCES += qfilesystemengine_unix.cpp qfilesystemiterator_unix.cpp qfsfileengine_unix.cpp
- mac {
- SOURCES += qcore_mac.cpp qsettings_mac.cpp qcore_mac_objc.mm qlocale_mac.mm
- LIBS += -framework ApplicationServices -framework CoreServices -framework Foundation
- } else {
- SOURCES += qlocale_unix.cpp
- }
- } else:win32 {
- SOURCES += qfilesystemengine_win.cpp qfsfileengine_win.cpp qfilesystemiterator_win.cpp qsettings_win.cpp \
- qsystemlibrary.cpp qlocale_win.cpp registry.cpp
- win32-msvc*:LIBS += ole32.lib advapi32.lib netapi32.lib
- mingw:LIBS += -lole32 -luuid -ladvapi32 -lkernel32 -lnetapi32
- }
-
- qnx {
- CFLAGS += -fhonor-std
- LFLAGS += -lcpp
- }
-
- DEFINES += QT_BOOTSTRAPPED
-
- INCLUDEPATH += \
- $$QT.core.includes $$QT.core_private.includes \
- $$shadowed(../src/corelib/global)
-} else {
- CONFIG += qt
- QT = core
-}
-*-g++:profiling {
- QMAKE_CFLAGS = -pg
- QMAKE_CXXFLAGS = -pg
- QMAKE_LFLAGS = -pg
-}
-
-PRECOMPILED_HEADER = qmake_pch.h