forked from qt-creator/qt-creator
Compile with Qt 5.
Add either QtDeclarative (Qt 4) or QtQuick1 (Qt 5) to QT. Mixing them leads to problems with include paths and linking. Change-Id: I188240641216ee227931a7be2105bc4838385c79 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -3,7 +3,12 @@ TARGET = QmlProfiler
|
||||
|
||||
DEFINES += PROFILER_LIBRARY
|
||||
|
||||
QT += network script declarative
|
||||
QT += network script
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
QT += quick1
|
||||
} else {
|
||||
QT += declarative
|
||||
}
|
||||
|
||||
include(../../qtcreatorplugin.pri)
|
||||
include(../../plugins/coreplugin/coreplugin.pri)
|
||||
|
||||
Reference in New Issue
Block a user