1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00

Qt qtquickcompiler

This commit is contained in:
kelteseth 2018-07-29 17:56:14 +02:00
parent c94350b15c
commit 893179f335
3 changed files with 14 additions and 8 deletions

View File

@ -1,8 +1,9 @@
TEMPLATE = app
QT += qml quick av widgets quickcontrols2 webkit
QT += qml quick widgets quickcontrols2 core
CONFIG += c++17
CONFIG += qtquickcompiler
#DEFINES += QT_NO_DEBUG_OUTPUT QT_NO_WARNING_OUTPUT
msvc: LIBS += -luser32
TARGETPATH = ScreenPlay
SOURCES += main.cpp \
@ -83,6 +84,13 @@ QT_QUICK_CONTROLS_STYLE = "Material"
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
debug {
DEFINES += SP_DEBUG
}
release {
DEFINES += SP_RELEASE
}
win32 {
INCLUDEPATH += "C:\msys64\mingw64\include"

View File

@ -1,6 +1,6 @@
QT += quick
CONFIG += c++11
CONFIG += qtquickcompiler
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the

View File

@ -1,8 +1,8 @@
TEMPLATE = app
QT += qml quick av widgets quickcontrols2 widgets
QT += qml quick quickcontrols2 widgets core
CONFIG += c++17
CONFIG += qtquickcompiler
msvc: LIBS += -luser32
TARGETPATH = ScreenPlayWindow
SOURCES += \
@ -51,5 +51,3 @@ win32 {
INCLUDEPATH += "C:\msys64\mingw64\include"
}
win32:CONFIG(release, debug|release): LIBS += -L$${OUT_PWD}/../ScreenPlaySDK/release -lScreenPlaySDK.dll
else:win32:CONFIG(debug, debug|release): LIBS += -L$${OUT_PWD}/../ScreenPlaySDK/debug -lScreenPlaySDKd.dll