Skip to content
Snippets Groups Projects
Commit b0eff051 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Add Qt 5 libraries to .pro files.


Make Qt Creator compile with Qt 5 after using fixqt4headers.pl.

Change-Id: I74ca51d562f49378b40103b79848f5dd3b11e77e
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 2ee7a56b
No related branches found
No related tags found
No related merge requests found
Showing
with 48 additions and 18 deletions
......@@ -154,3 +154,8 @@ win32-msvc* {
#Don't warn about sprintf, fopen etc being 'unsafe'
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
QT += declarative
QT += script
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets qtquick1
TARGET = styleplugin
include(../../../../qtcreator.pri)
......
!win32: error("process_ctrlc_stub is Windows only")
CONFIG -= qt
CONFIG += console warn_on
include(../../../qtcreator.pri)
TEMPLATE = app
TARGET = qtcreator_ctrlc_stub
DESTDIR = $$IDE_LIBEXEC_PATH
QT =
CONFIG += console warn_on
SOURCES += process_ctrlc_stub.cpp
LIBS += -luser32 -lshell32
......
CONFIG += warn_on console use_c_linker
CONFIG -= qt app_bundle
include(../../../qtcreator.pri)
TEMPLATE = app
TARGET = qtcreator_process_stub
DESTDIR = $$IDE_LIBEXEC_PATH
CONFIG += warn_on console use_c_linker
CONFIG -= qt app_bundle
build_all:!build_pass {
CONFIG -= build_all
CONFIG += release
......
......@@ -7,7 +7,6 @@ dll {
INCLUDEPATH += $$PWD
QT += network
win32-msvc* {
# disable warnings caused by botan headers
QMAKE_CXXFLAGS += -wd4250 -wd4290
......
......@@ -9,7 +9,13 @@ include(utils_dependencies.pri)
include(utils-lib.pri)
# 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 += \
proxyaction.h
......
......@@ -4,6 +4,8 @@ DEFINES += CORE_LIBRARY
QT += network \
script \
sql
greaterThan(QT_MAJOR_VERSION, 4): QT += printsupport
CONFIG += help
include(../../qtcreatorplugin.pri)
include(../../libs/utils/utils.pri)
......
......@@ -3,6 +3,8 @@ WITH_LLDB = $$(WITH_LLDB)
!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)
QT = core network
include(../../../../../qtcreator.pri)
TEMPLATE = app
CONFIG -= app_bundle
......@@ -12,8 +14,6 @@ DEPENDPATH += . .. ../.. ../../.. ../../../../libs
INCLUDEPATH += . .. ../.. ../../.. ../../../../libs
DESTDIR = $$IDE_LIBEXEC_PATH
QT = core network
MOC_DIR=.tmp
OBJECTS_DIR=.tmp
......
......@@ -13,6 +13,7 @@ minQtVersion(5, 0, 0) {
CONFIG += designer
# -- Fixme: Make tools available
INCLUDEPATH += $$QMAKE_INCDIR_QT/../../qttools/include
QT += printsupport
} else {
# -- figure out shared dir location
!exists($$[QT_INSTALL_HEADERS]/QtDesigner/private/qdesigner_integration_p.h) {
......
TEMPLATE = lib
TARGET = Help
QT += network
greaterThan(QT_MAJOR_VERSION, 4) {
QT += printsupport
DEFINES += QT_NO_WEBKIT
}
INCLUDEPATH += $$PWD
......
......@@ -3,6 +3,8 @@ TARGET = QmlProfiler
DEFINES += PROFILER_LIBRARY
QT += network script declarative
include(../../qtcreatorplugin.pri)
include(../../plugins/coreplugin/coreplugin.pri)
include(../../plugins/analyzerbase/analyzerbase.pri)
......@@ -12,8 +14,6 @@ include(../../plugins/remotelinux/remotelinux.pri)
include(../../libs/qmljsdebugclient/qmljsdebugclient.pri)
include(../../libs/extensionsystem/extensionsystem.pri)
QT += network script declarative
include(canvas/canvas.pri)
SOURCES += \
......
......@@ -2,6 +2,7 @@ TEMPLATE = lib
TARGET = TextEditor
DEFINES += TEXTEDITOR_LIBRARY
QT += xml network
greaterThan(QT_MAJOR_VERSION, 4): QT += printsupport
include(../../qtcreatorplugin.pri)
include(texteditor_dependencies.pri)
INCLUDEPATH += generichighlighter \
......
......@@ -4,6 +4,7 @@ HEADERS += $$PWD/qtsingleapplication.h $$PWD/qtlocalpeer.h
SOURCES += $$PWD/qtsingleapplication.cpp $$PWD/qtlocalpeer.cpp
QT *= network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
gotqtlockedfile = $$find(HEADERS, .*qtlockedfile.h)
isEmpty(gotqtlockedfile):include(../qtlockedfile/qtlockedfile.pri)
......
INCLUDEPATH *= $$PWD
QT += network
win32:include(../../private_headers.pri)
win32 {
greaterThan(QT_MAJOR_VERSION, 4) {
QT += core-private
} else {
include(../../private_headers.pri)
}
}
# Input
HEADERS += $$PWD/symbianutils_global.h \
......
QT = core
include(../../../qtcreator.pri)
include(../../rpath.pri)
......@@ -5,7 +6,6 @@ TEMPLATE = app
TARGET = qmlprofiler
DESTDIR = $$IDE_BIN_PATH
QT = core
CONFIG += console
CONFIG -= app_bundle
......
include(../../shared/registryaccess/registryaccess.pri)
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = qtcdebugger
TEMPLATE = app
SOURCES += main.cpp
......
QT -= gui
include(../../../qtcreator.pri)
TEMPLATE = app
TARGET = qtpromaker
DESTDIR = $$IDE_LIBEXEC_PATH
QT -= gui
CONFIG += console warn_on
CONFIG -= app_bundle
......
QT -= gui
include(../qttest.pri)
INCLUDEPATH += $$IDE_SOURCE_TREE/src/libs/aggregation
include($$IDE_SOURCE_TREE/src/libs/aggregation/aggregation.pri)
......
greaterThan(QT_MAJOR_VERSION, 4): QT += core-private
include(../qttest.pri)
include($$IDE_SOURCE_TREE/src/libs/symbianutils/symbianutils.pri)
include($$IDE_SOURCE_TREE/src/shared/json/json.pri)
......
QT -= gui
include(../qttest.pri)
include(../../../src/shared/proparser/proparser.pri)
SOURCES += \
tst_profilewriter.cpp
QT -= gui
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment