misc: allow building using qmake generated Makefile on windows

Don't implicitly configure a vcxproj with qmake allowing building
and debugging from QtCreator as well as Visual Studio.

Change-Id: Ifbb181d6d910c1b5bd9167d015f4ed6860d6ccaf
Gitlab: #581
Gitlab: #7
This commit is contained in:
Andreas Traczyk
2020-08-19 17:55:28 -04:00
parent 03d04a802e
commit 470d3c98e6
2 changed files with 33 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
win32-msvc {
TARGET = Jami
TEMPLATE = vcapp
TEMPLATE = app
QT += core winextras qml quickcontrols2 quick xml multimedia network webengine svg sql
@@ -22,7 +22,7 @@ win32-msvc {
# dependencies
LRC= ../lrc
DRING= ../daemon
QRENCODE= qrencode-win32/qrencode-win32
QRENCODE= $$PWD/qrencode-win32/qrencode-win32
# client deps
INCLUDEPATH += $${QRENCODE}
@@ -75,6 +75,9 @@ win32-msvc {
# exe icons
Release: RC_FILE = ico.rc
# run the deployment script(run windeployqt)
QMAKE_POST_LINK += $$quote(powershell -ExecutionPolicy Unrestricted -File $$PWD/copy-runtime-files.ps1 -outDir $${DESTDIR})
}
unix {