diff --git a/.appveyor.yml b/.appveyor.yml index 33a1d42..f1298a9 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -6,7 +6,7 @@ environment: - QTDIR: C:\Qt\5.11\msvc2017_64 VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat" PLATFORM: - + init: - call "%QTDIR%\bin\qtenv2.bat" - set PATH=C:\Qt\Tools\QtCreator\bin;%PATH% @@ -17,12 +17,12 @@ before_build: - git submodule update --init --recursive build_script: - - qmake spectral.pro CONFIG+=qtquickcompiler PREFIX="%DEPLOY_DIR%" + - qmake spectral.pro CONFIG+=debug CONFIG+=qml_debug PREFIX="%DEPLOY_DIR%" - nmake - + after_build: - nmake install - - windeployqt --release --qmldir qml --qmldir imports "%DEPLOY_DIR%\spectral.exe" + - windeployqt --debug --qmldir qml --qmldir imports "%DEPLOY_DIR%\spectral.exe" - 7z a spectral.zip "%DEPLOY_DIR%\" artifacts: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3a6e9b7..7c22588 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,7 @@ build-appimage: - git submodule update --init --recursive script: - /opt/qt511/bin/qt511-env.sh - - /opt/qt511/bin/qmake CONFIG+=release CONFIG+=qtquickcompiler PREFIX=/usr + - /opt/qt511/bin/qmake CONFIG+=debug CONFIG+=qml_debug PREFIX=/usr - make - make INSTALL_ROOT=appdir install - /usr/bin/linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/org.eu.encom.spectral.desktop -appimage -qmldir=qml -qmldir=imports -qmake=/opt/qt511/bin/qmake diff --git a/.travis.yml b/.travis.yml index 4241fc0..e9720a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ install: - git submodule update --init --recursive script: -- qmake spectral.pro CONFIG+=qtquickcompiler PREFIX="${DEPLOY_DIR}" +- qmake spectral.pro CONFIG+=debug CONFIG+=qml_debug PREFIX="${DEPLOY_DIR}" - make - make install - macdeployqt ${DEPLOY_DIR}/bin/spectral.app -dmg -qmldir=qml -qmldir=imports