forked from qt-creator/qt-creator
Add Qt 5 libraries to .pro files.
Make Qt Creator compile with Qt 5 after using fixqt4headers.pl. Change-Id: I74ca51d562f49378b40103b79848f5dd3b11e77e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -154,3 +154,8 @@ win32-msvc* {
|
|||||||
#Don't warn about sprintf, fopen etc being 'unsafe'
|
#Don't warn about sprintf, fopen etc being 'unsafe'
|
||||||
DEFINES += _CRT_SECURE_NO_WARNINGS
|
DEFINES += _CRT_SECURE_NO_WARNINGS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
qt:greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
|
contains(QT, gui): QT += widgets
|
||||||
|
contains(QT, declarative): QT += qtquick1
|
||||||
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ TEMPLATE = lib
|
|||||||
CONFIG += qt plugin
|
CONFIG += qt plugin
|
||||||
QT += declarative
|
QT += declarative
|
||||||
QT += script
|
QT += script
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets qtquick1
|
||||||
|
|
||||||
TARGET = styleplugin
|
TARGET = styleplugin
|
||||||
include(../../../../qtcreator.pri)
|
include(../../../../qtcreator.pri)
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
!win32: error("process_ctrlc_stub is Windows only")
|
!win32: error("process_ctrlc_stub is Windows only")
|
||||||
|
|
||||||
|
CONFIG -= qt
|
||||||
|
CONFIG += console warn_on
|
||||||
|
|
||||||
include(../../../qtcreator.pri)
|
include(../../../qtcreator.pri)
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
TARGET = qtcreator_ctrlc_stub
|
TARGET = qtcreator_ctrlc_stub
|
||||||
DESTDIR = $$IDE_LIBEXEC_PATH
|
DESTDIR = $$IDE_LIBEXEC_PATH
|
||||||
|
|
||||||
QT =
|
|
||||||
CONFIG += console warn_on
|
|
||||||
|
|
||||||
SOURCES += process_ctrlc_stub.cpp
|
SOURCES += process_ctrlc_stub.cpp
|
||||||
LIBS += -luser32 -lshell32
|
LIBS += -luser32 -lshell32
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
|
CONFIG += warn_on console use_c_linker
|
||||||
|
CONFIG -= qt app_bundle
|
||||||
|
|
||||||
include(../../../qtcreator.pri)
|
include(../../../qtcreator.pri)
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
TARGET = qtcreator_process_stub
|
TARGET = qtcreator_process_stub
|
||||||
DESTDIR = $$IDE_LIBEXEC_PATH
|
DESTDIR = $$IDE_LIBEXEC_PATH
|
||||||
|
|
||||||
CONFIG += warn_on console use_c_linker
|
|
||||||
CONFIG -= qt app_bundle
|
|
||||||
|
|
||||||
build_all:!build_pass {
|
build_all:!build_pass {
|
||||||
CONFIG -= build_all
|
CONFIG -= build_all
|
||||||
CONFIG += release
|
CONFIG += release
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ dll {
|
|||||||
INCLUDEPATH += $$PWD
|
INCLUDEPATH += $$PWD
|
||||||
QT += network
|
QT += network
|
||||||
|
|
||||||
|
|
||||||
win32-msvc* {
|
win32-msvc* {
|
||||||
# disable warnings caused by botan headers
|
# disable warnings caused by botan headers
|
||||||
QMAKE_CXXFLAGS += -wd4250 -wd4290
|
QMAKE_CXXFLAGS += -wd4250 -wd4290
|
||||||
|
|||||||
@@ -9,7 +9,13 @@ include(utils_dependencies.pri)
|
|||||||
|
|
||||||
include(utils-lib.pri)
|
include(utils-lib.pri)
|
||||||
# Needed for QtCore/private/qwineventnotifier_p.h
|
# Needed for QtCore/private/qwineventnotifier_p.h
|
||||||
win32:include(../../private_headers.pri)
|
win32 {
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
|
QT += core-private
|
||||||
|
} else {
|
||||||
|
include(../../private_headers.pri)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
proxyaction.h
|
proxyaction.h
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ DEFINES += CORE_LIBRARY
|
|||||||
QT += network \
|
QT += network \
|
||||||
script \
|
script \
|
||||||
sql
|
sql
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4): QT += printsupport
|
||||||
|
|
||||||
CONFIG += help
|
CONFIG += help
|
||||||
include(../../qtcreatorplugin.pri)
|
include(../../qtcreatorplugin.pri)
|
||||||
include(../../libs/utils/utils.pri)
|
include(../../libs/utils/utils.pri)
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ WITH_LLDB = $$(WITH_LLDB)
|
|||||||
!macx: error (This can only be built on mac)
|
!macx: error (This can only be built on mac)
|
||||||
!exists($${WITH_LLDB}/include/lldb/lldb-enumerations.h): error(please see the README for build instructions)
|
!exists($${WITH_LLDB}/include/lldb/lldb-enumerations.h): error(please see the README for build instructions)
|
||||||
|
|
||||||
|
QT = core network
|
||||||
|
|
||||||
include(../../../../../qtcreator.pri)
|
include(../../../../../qtcreator.pri)
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
CONFIG -= app_bundle
|
CONFIG -= app_bundle
|
||||||
@@ -12,8 +14,6 @@ DEPENDPATH += . .. ../.. ../../.. ../../../../libs
|
|||||||
INCLUDEPATH += . .. ../.. ../../.. ../../../../libs
|
INCLUDEPATH += . .. ../.. ../../.. ../../../../libs
|
||||||
DESTDIR = $$IDE_LIBEXEC_PATH
|
DESTDIR = $$IDE_LIBEXEC_PATH
|
||||||
|
|
||||||
QT = core network
|
|
||||||
|
|
||||||
MOC_DIR=.tmp
|
MOC_DIR=.tmp
|
||||||
OBJECTS_DIR=.tmp
|
OBJECTS_DIR=.tmp
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ minQtVersion(5, 0, 0) {
|
|||||||
CONFIG += designer
|
CONFIG += designer
|
||||||
# -- Fixme: Make tools available
|
# -- Fixme: Make tools available
|
||||||
INCLUDEPATH += $$QMAKE_INCDIR_QT/../../qttools/include
|
INCLUDEPATH += $$QMAKE_INCDIR_QT/../../qttools/include
|
||||||
|
QT += printsupport
|
||||||
} else {
|
} else {
|
||||||
# -- figure out shared dir location
|
# -- figure out shared dir location
|
||||||
!exists($$[QT_INSTALL_HEADERS]/QtDesigner/private/qdesigner_integration_p.h) {
|
!exists($$[QT_INSTALL_HEADERS]/QtDesigner/private/qdesigner_integration_p.h) {
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = Help
|
TARGET = Help
|
||||||
|
|
||||||
QT += network
|
QT += network
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
|
QT += printsupport
|
||||||
|
DEFINES += QT_NO_WEBKIT
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD
|
INCLUDEPATH += $$PWD
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ TARGET = QmlProfiler
|
|||||||
|
|
||||||
DEFINES += PROFILER_LIBRARY
|
DEFINES += PROFILER_LIBRARY
|
||||||
|
|
||||||
|
QT += network script declarative
|
||||||
|
|
||||||
include(../../qtcreatorplugin.pri)
|
include(../../qtcreatorplugin.pri)
|
||||||
include(../../plugins/coreplugin/coreplugin.pri)
|
include(../../plugins/coreplugin/coreplugin.pri)
|
||||||
include(../../plugins/analyzerbase/analyzerbase.pri)
|
include(../../plugins/analyzerbase/analyzerbase.pri)
|
||||||
@@ -12,8 +14,6 @@ include(../../plugins/remotelinux/remotelinux.pri)
|
|||||||
include(../../libs/qmljsdebugclient/qmljsdebugclient.pri)
|
include(../../libs/qmljsdebugclient/qmljsdebugclient.pri)
|
||||||
include(../../libs/extensionsystem/extensionsystem.pri)
|
include(../../libs/extensionsystem/extensionsystem.pri)
|
||||||
|
|
||||||
QT += network script declarative
|
|
||||||
|
|
||||||
include(canvas/canvas.pri)
|
include(canvas/canvas.pri)
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ TEMPLATE = lib
|
|||||||
TARGET = TextEditor
|
TARGET = TextEditor
|
||||||
DEFINES += TEXTEDITOR_LIBRARY
|
DEFINES += TEXTEDITOR_LIBRARY
|
||||||
QT += xml network
|
QT += xml network
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4): QT += printsupport
|
||||||
include(../../qtcreatorplugin.pri)
|
include(../../qtcreatorplugin.pri)
|
||||||
include(texteditor_dependencies.pri)
|
include(texteditor_dependencies.pri)
|
||||||
INCLUDEPATH += generichighlighter \
|
INCLUDEPATH += generichighlighter \
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ HEADERS += $$PWD/qtsingleapplication.h $$PWD/qtlocalpeer.h
|
|||||||
SOURCES += $$PWD/qtsingleapplication.cpp $$PWD/qtlocalpeer.cpp
|
SOURCES += $$PWD/qtsingleapplication.cpp $$PWD/qtlocalpeer.cpp
|
||||||
|
|
||||||
QT *= network
|
QT *= network
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
|
||||||
gotqtlockedfile = $$find(HEADERS, .*qtlockedfile.h)
|
gotqtlockedfile = $$find(HEADERS, .*qtlockedfile.h)
|
||||||
isEmpty(gotqtlockedfile):include(../qtlockedfile/qtlockedfile.pri)
|
isEmpty(gotqtlockedfile):include(../qtlockedfile/qtlockedfile.pri)
|
||||||
|
|||||||
@@ -1,7 +1,13 @@
|
|||||||
INCLUDEPATH *= $$PWD
|
INCLUDEPATH *= $$PWD
|
||||||
|
|
||||||
QT += network
|
QT += network
|
||||||
win32:include(../../private_headers.pri)
|
win32 {
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
|
QT += core-private
|
||||||
|
} else {
|
||||||
|
include(../../private_headers.pri)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Input
|
# Input
|
||||||
HEADERS += $$PWD/symbianutils_global.h \
|
HEADERS += $$PWD/symbianutils_global.h \
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
QT = core
|
||||||
include(../../../qtcreator.pri)
|
include(../../../qtcreator.pri)
|
||||||
include(../../rpath.pri)
|
include(../../rpath.pri)
|
||||||
|
|
||||||
@@ -5,7 +6,6 @@ TEMPLATE = app
|
|||||||
TARGET = qmlprofiler
|
TARGET = qmlprofiler
|
||||||
DESTDIR = $$IDE_BIN_PATH
|
DESTDIR = $$IDE_BIN_PATH
|
||||||
|
|
||||||
QT = core
|
|
||||||
CONFIG += console
|
CONFIG += console
|
||||||
CONFIG -= app_bundle
|
CONFIG -= app_bundle
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
include(../../shared/registryaccess/registryaccess.pri)
|
include(../../shared/registryaccess/registryaccess.pri)
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
TARGET = qtcdebugger
|
TARGET = qtcdebugger
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
|
QT -= gui
|
||||||
|
|
||||||
include(../../../qtcreator.pri)
|
include(../../../qtcreator.pri)
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
TARGET = qtpromaker
|
TARGET = qtpromaker
|
||||||
DESTDIR = $$IDE_LIBEXEC_PATH
|
DESTDIR = $$IDE_LIBEXEC_PATH
|
||||||
|
|
||||||
QT -= gui
|
|
||||||
|
|
||||||
CONFIG += console warn_on
|
CONFIG += console warn_on
|
||||||
CONFIG -= app_bundle
|
CONFIG -= app_bundle
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
QT -= gui
|
||||||
include(../qttest.pri)
|
include(../qttest.pri)
|
||||||
INCLUDEPATH += $$IDE_SOURCE_TREE/src/libs/aggregation
|
INCLUDEPATH += $$IDE_SOURCE_TREE/src/libs/aggregation
|
||||||
include($$IDE_SOURCE_TREE/src/libs/aggregation/aggregation.pri)
|
include($$IDE_SOURCE_TREE/src/libs/aggregation/aggregation.pri)
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
greaterThan(QT_MAJOR_VERSION, 4): QT += core-private
|
||||||
include(../qttest.pri)
|
include(../qttest.pri)
|
||||||
include($$IDE_SOURCE_TREE/src/libs/symbianutils/symbianutils.pri)
|
include($$IDE_SOURCE_TREE/src/libs/symbianutils/symbianutils.pri)
|
||||||
include($$IDE_SOURCE_TREE/src/shared/json/json.pri)
|
include($$IDE_SOURCE_TREE/src/shared/json/json.pri)
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
|
QT -= gui
|
||||||
|
|
||||||
include(../qttest.pri)
|
include(../qttest.pri)
|
||||||
include(../../../src/shared/proparser/proparser.pri)
|
include(../../../src/shared/proparser/proparser.pri)
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
tst_profilewriter.cpp
|
tst_profilewriter.cpp
|
||||||
QT -= gui
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
QT -= core gui
|
QT -= core gui
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4):QT += widgets
|
||||||
TARGET = plain-c++
|
TARGET = plain-c++
|
||||||
DEFINES += CPLUSPLUS_WITHOUT_QT
|
DEFINES += CPLUSPLUS_WITHOUT_QT
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
QT = core
|
||||||
|
|
||||||
include (../../../qtcreator.pri)
|
include (../../../qtcreator.pri)
|
||||||
include (../../../src/plugins/coreplugin/coreplugin.pri)
|
include (../../../src/plugins/coreplugin/coreplugin.pri)
|
||||||
|
|
||||||
@@ -11,8 +13,6 @@ unix {
|
|||||||
QMAKE_LFLAGS += -Wl,-rpath,\"$$IDE_PLUGIN_PATH/Nokia\"
|
QMAKE_LFLAGS += -Wl,-rpath,\"$$IDE_PLUGIN_PATH/Nokia\"
|
||||||
}
|
}
|
||||||
|
|
||||||
QT += core
|
|
||||||
QT -= gui
|
|
||||||
CONFIG += console
|
CONFIG += console
|
||||||
CONFIG -= app_bundle
|
CONFIG -= app_bundle
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
DEFINES += SYMBIANUTILS_INCLUDE_PRI
|
DEFINES += SYMBIANUTILS_INCLUDE_PRI
|
||||||
|
|
||||||
|
QT += network
|
||||||
|
|
||||||
include(../../../qtcreator.pri)
|
include(../../../qtcreator.pri)
|
||||||
include(../../../src/shared/symbianutils/symbianutils.pri)
|
include(../../../src/shared/symbianutils/symbianutils.pri)
|
||||||
|
|
||||||
QT += core gui network
|
|
||||||
TARGET = codaclient
|
TARGET = codaclient
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
CONFIG += console
|
CONFIG += console
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
include(../../../qtcreator.pri)
|
|
||||||
QT = core gui
|
QT = core gui
|
||||||
|
include(../../../qtcreator.pri)
|
||||||
macx:CONFIG -= app_bundle
|
macx:CONFIG -= app_bundle
|
||||||
TARGET = qml-ast2dot
|
TARGET = qml-ast2dot
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user