Skip to content

Commit b094563

Browse files
authored
Merge pull request #233 from docsteer/qt_515
Migrate to Qt 5.15
2 parents 3c81d31 + c1711e1 commit b094563

File tree

16 files changed

+746
-190
lines changed

16 files changed

+746
-190
lines changed

.travis.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ matrix:
88
addons:
99
apt:
1010
sources:
11-
- sourceline: 'ppa:beineri/opt-qt-5.12.3-xenial'
11+
- sourceline: 'ppa:beineri/opt-qt-5.15.0-xenial'
1212
- sourceline: 'ppa:brightbox/ruby-ng'
1313
packages:
1414
# FPM dependencies
1515
- build-essential
1616
- ruby2.3
1717
- ruby2.3-dev
1818
# QT
19-
- qt512base
20-
- qt512multimedia
21-
- qt512tools
19+
- qt515base
20+
- qt515multimedia
21+
- qt515tools
2222
- mesa-common-dev
2323
- libgl1-mesa-dev
2424
# PCap
@@ -40,18 +40,18 @@ matrix:
4040
- echo "Uploading $BASENAME to file.io..." && curl -sF "file=@$FILE" https://file.io | xargs printf "$BASENAME uploaded - %s\n"
4141

4242
- os: osx
43-
osx_image: xcode9.4
43+
osx_image: xcode11.6
44+
addons:
45+
homebrew:
46+
packages:
47+
- libpcap
48+
- qt
49+
- create-dmg
4450
before_install:
4551
- chmod +x install/mac/sign-mac-executable.sh
4652
- ./install/mac/sign-mac-executable.sh
47-
- brew update
4853
install:
49-
# PCap
50-
- brew install libpcap
51-
# QT 5.12.3
52-
- git -C "$(brew --repo homebrew/core)" pull --unshallow
53-
- git -C "$(brew --repo homebrew/core)" checkout -b qt5.12.3 65a45a9e61f15046a256cdba6a008f38f79570c9
54-
- HOMEBREW_NO_AUTO_UPDATE=1 brew install qt
54+
# QT
5555
- brew link --force qt
5656
script:
5757
- qmake

appveyor.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ environment:
2020
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2121
QT_Ver: 5.6
2222
MSVC_Compiler: msvc2015
23-
MSVC_Name: Microsoft Visual Studio 14.0
24-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
25-
QT_Ver: 5.12
26-
MSVC_Compiler: msvc2017
27-
MSVC_Name: Microsoft Visual Studio 14.0
23+
VCVAR: 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat'
24+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
25+
QT_Ver: 5.15
26+
MSVC_Compiler: msvc2019
27+
VCVAR: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat'
2828

2929
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
3030
platform: x86
@@ -47,7 +47,7 @@ install:
4747

4848
# MSVC Paths
4949
# https://www.appveyor.com/docs/lang/cpp/#visual-studio
50-
- call "C:\Program Files (x86)\%MSVC_Name%\VC\vcvarsall.bat" x86
50+
- call "%VCVAR%" x86
5151

5252
# QT Paths
5353
# https://www.appveyor.com/docs/build-environment/#qt

deploy.pri

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ macx {
4949
DEPLOY_CLEANUP = codesign --force --deep --verify --verbose --sign \"Thomas Steer\" $${DEPLOY_TARGET} $$escape_expand(\\n\\t)
5050
DEPLOY_CLEANUP += $${QMAKE_DEL_FILE} $${DEPLOY_DIR}/sACNView*.dmg
5151

52-
DEPLOY_INSTALLER = $${_PRO_FILE_PWD_}/install/mac/create-dmg --volname "sACNView_Installer" --volicon "$${_PRO_FILE_PWD_}/res/icon.icns"
53-
DEPLOY_INSTALLER += --background "$${_PRO_FILE_PWD_}/res/mac_install_bg.png" --window-pos 200 120 --window-size 800 400 --icon-size 100 --icon $${TARGET}$${TARGET_CUSTOM_EXT} 200 190 --hide-extension $${TARGET}$${TARGET_CUSTOM_EXT} --app-drop-link 600 185
52+
DEPLOY_INSTALLER = create-dmg --volname "sACNView_Installer" --volicon "$${_PRO_FILE_PWD_}/res/icon.icns"
53+
DEPLOY_INSTALLER += --background "$${_PRO_FILE_PWD_}/res/mac_install_bg.png" --window-pos 200 120 --window-size 800 400 --icon-size 100
54+
DEPLOY_INSTALLER += --icon $${TARGET}$${TARGET_CUSTOM_EXT} 200 190 --hide-extension $${TARGET}$${TARGET_CUSTOM_EXT} --app-drop-link 600 185 --skip-jenkins
5455
DEPLOY_INSTALLER += $${DEPLOY_DIR}/sACNView_$${VERSION}.dmg $${OUT_PWD}/$${TARGET}$${TARGET_CUSTOM_EXT}
5556
}
5657
linux {

0 commit comments

Comments
 (0)