Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for new GraphicsView #630

Merged
merged 131 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
d81301a
Improve window sizing logic that deals with window going outside scre…
jdpurcell Jan 14, 2023
04ae39e
Fix screen detection when window's center is outside of the screen.
jdpurcell Jan 14, 2023
d9f41b8
Fix window sizing with very large maximum size setting
jdpurcell Jan 14, 2023
fc892c0
Fix file index misdetection due to Unicode normalization issues
jdpurcell Jan 14, 2023
3c57ac5
Merge pull request #556 from jdpurcell/issue531
jurplel Jan 14, 2023
f082a46
Merge pull request #558 from jdpurcell/filenumberbug
jurplel Jan 14, 2023
e5a0b3e
Open with other application linux icon
jurplel Jan 15, 2023
7c12df2
Basic color space support
jdpurcell Nov 1, 2022
0f9e66a
Implement ICC profile fetching for Windows.
jdpurcell Jan 15, 2023
bfc0df4
Implement ICC profile fetching for macOS.
jdpurcell Jan 15, 2023
7a9998b
Implement color space auto-detect option.
jdpurcell Jan 15, 2023
66306a5
CI: Update OpenSSL download link
jdpurcell Jan 18, 2023
185feaf
Add dummy QColorSpace type for old Qt versions
jdpurcell Jan 21, 2023
a70cde5
Detect target color space changes when switching images and clear cache
jdpurcell Jan 21, 2023
64426d0
Enable color space conversion by default.
jdpurcell Jan 21, 2023
d95509b
Implement ICC profile fetching for Linux.
jdpurcell Jan 22, 2023
bc4a90d
Cleanup image caching code.
jdpurcell Jan 24, 2023
5db717b
Fix cache using more memory than intended.
jdpurcell Jan 25, 2023
ff6e962
Make Qt6 builds include qtimageformats module
jdpurcell Jan 29, 2023
752bf61
Merge pull request #563 from jdpurcell/openssl-1
jurplel Feb 18, 2023
c8d7d78
Translated using Weblate (Norwegian Bokmål)
comradekingu Dec 29, 2022
ab9d2bb
Translated using Weblate (Spanish)
toni-estevez Jan 4, 2023
25b66a2
Translated using Weblate (Spanish)
toni-estevez Jan 6, 2023
c2f1019
Translated using Weblate (Ukrainian)
Jan 15, 2023
672f1f1
Translated using Weblate (Korean)
Feb 2, 2023
83426de
Translated using Weblate (Korean)
Feb 2, 2023
787343d
Merge pull request #565 from jdpurcell/cachememory
jurplel Feb 18, 2023
f2ef00b
Translated using Weblate (Norwegian Bokmål)
comradekingu Dec 29, 2022
6452768
Translated using Weblate (Spanish)
toni-estevez Jan 4, 2023
ea61533
Translated using Weblate (Spanish)
toni-estevez Jan 6, 2023
5b4d8f4
Translated using Weblate (Ukrainian)
Jan 15, 2023
34f1b8e
Translated using Weblate (Korean)
Feb 2, 2023
9318c0c
Translated using Weblate (Korean)
Feb 2, 2023
185be91
Merge pull request #548 from weblate/weblate-qview-qview
jurplel Feb 18, 2023
49b209b
Merge pull request #569 from jdpurcell/qtimageformats
jurplel Feb 18, 2023
c97db67
Merge pull request #574 from weblate/weblate-qview-qview
jurplel Feb 18, 2023
14c1ae4
Merge branch 'master' into colorspace
jurplel Feb 18, 2023
805149e
Fix .ico
jurplel Feb 18, 2023
47712a2
Added translation using Weblate (Indonesian)
crse Feb 23, 2023
d401b6c
Translated using Weblate (Indonesian)
crse Feb 23, 2023
91266fe
Translated using Weblate (Indonesian)
rezaalmanda Mar 19, 2023
ab1fe37
Added translation using Weblate (Hungarian)
istvanszabo890629 Mar 25, 2023
c1caa17
Translated using Weblate (Hungarian)
istvanszabo890629 Mar 25, 2023
d169998
Translated using Weblate (Hungarian)
istvanszabo890629 Mar 25, 2023
20ed61a
Translated using Weblate (German)
Atalanttore Mar 26, 2023
8c10d0a
Translated using Weblate (Hungarian)
istvanszabo890629 Mar 26, 2023
ab31ae8
Translated using Weblate (Indonesian)
rezaalmanda Apr 6, 2023
21d5f1d
Translated using Weblate (Indonesian)
crse Apr 11, 2023
7984a9f
Merge pull request #576 from weblate/weblate-qview-qview
jurplel May 1, 2023
8f11a42
Merge pull request #521 from jdpurcell/colorspace
jurplel May 13, 2023
2b8c8cb
attempt at updating image names
jurplel May 13, 2023
076c1cf
Old windows is fine, whatever
jurplel May 13, 2023
542a9b7
Add support for date created
jurplel Jul 30, 2023
ade2288
Bump version number
jurplel Jul 30, 2023
c47c901
update pwsh shebang
Aug 1, 2023
e78b6fb
move scripts
Aug 1, 2023
82eb5e2
Partially completed plugins script
Aug 6, 2023
e357d24
finish script
jurplel Aug 7, 2023
9d6ce90
Actually call the script
jurplel Aug 7, 2023
179c0d8
add other image names..
Aug 7, 2023
5eaa751
try again
Aug 7, 2023
ace122f
silently continue mkdir
Aug 7, 2023
eaf3021
use new-item in stead
Aug 7, 2023
5b9d295
typo in build.yml
jurplel Aug 7, 2023
890b966
oops, what i was actually doing was going from 5.12 -> 5.15 on macos-…
jurplel Aug 7, 2023
7b28dd9
always get qtimageformats
jurplel Aug 7, 2023
3683bde
blah
jurplel Aug 7, 2023
78ffa63
Update dist files
Aug 8, 2023
6cb0fcf
Merge branch 'master' of github.com:jurplel/qView
Aug 8, 2023
2510225
Translated using Weblate (German)
VarChar42 May 3, 2023
786f977
Translated using Weblate (Indonesian)
crse May 24, 2023
a141abe
Translated using Weblate (Russian)
Ser82-png Jun 27, 2023
db43332
Merge pull request #588 from weblate/weblate-qview-qview
jurplel Aug 9, 2023
0586c00
Update windeployqt.ps1
jurplel Aug 9, 2023
6ba4571
add missing x11extras dependency to control_bionic
jurplel Aug 9, 2023
c08a484
Fix windeployqt script renaming in the wrong case
jurplel Aug 9, 2023
87a9e54
fix name????
jurplel Aug 9, 2023
1ef88ed
think i figured it out -- update control_bionic
jurplel Aug 9, 2023
44beb0e
think i figured it out-- update control
jurplel Aug 9, 2023
f491ac7
qt 5.9 smoke test
jurplel Aug 9, 2023
09d44c6
qsizetype -> int for qt5.9 compatability
Aug 9, 2023
db347f2
Merge branch 'master' of github.com:jurplel/qView
Aug 9, 2023
c43cd62
Try ifdef-ing birthTime
Aug 9, 2023
103fe4e
try only conditionally downloading plugins
Aug 9, 2023
353bd4b
try other if stmt format
Aug 9, 2023
a2a295f
i meant eq
Aug 9, 2023
e472998
reverse polarity
Aug 9, 2023
011d5ec
try to copy all the new dlls
jurplel Aug 10, 2023
ef73f0a
Copy only the plugins we need
jurplel Aug 10, 2023
48693f7
Update qView.pro to 2023
jurplel Aug 11, 2023
2a6bdfa
Attempt to resolve wayland color profile crash issue
Aug 11, 2023
18d49b8
Cache memory usage fix (regression due to merge error).
jdpurcell Aug 12, 2023
783807d
Merge pull request #613 from jdpurcell/memory2
jurplel Aug 12, 2023
aaff929
add missing space at the end of filterString
jurplel Aug 15, 2023
3c5228c
Update version numbers
jurplel Aug 16, 2023
df57d3f
Translated using Weblate (Indonesian)
crse Aug 8, 2023
70ae300
Translated using Weblate (Indonesian)
crse Aug 10, 2023
8b8fdc6
Translated using Weblate (Italian)
albanobattistella Aug 12, 2023
797f6fc
Translated using Weblate (Chinese (Traditional))
p4ssen Aug 12, 2023
ae0b9f2
Translated using Weblate (Indonesian)
crse Aug 12, 2023
5e9b882
Translated using Weblate (Italian)
albanobattistella Aug 13, 2023
68fb3f1
Merge pull request #610 from weblate/weblate-qview-qview
jurplel Aug 16, 2023
3ec4ee9
Remove print
jurplel Aug 16, 2023
9f6c225
fix mismatching info.plist
jurplel Aug 16, 2023
20bb24d
Workaround for slow font loading on Windows.
jdpurcell Aug 25, 2023
c6ad165
Fix window getting unmaximized/resized when exiting full screen mode.
jdpurcell Aug 22, 2023
a59696e
Improve slow font loading workaround.
jdpurcell Aug 26, 2023
4dfdabe
Add "Reload File" feature
jdpurcell Aug 27, 2023
e28cbe7
Merge pull request #623 from jdpurcell/issue453
jurplel Aug 27, 2023
e0b3e4a
Merge pull request #622 from jdpurcell/issue552
jurplel Aug 27, 2023
0334910
CR feedback for "Reload File"
jdpurcell Aug 27, 2023
6e091fd
Merge pull request #625 from jdpurcell/reloadimage
jurplel Aug 27, 2023
0e9a415
When "window matches image size" changes, enable/disable size control…
jdpurcell Aug 27, 2023
e37c8ea
Merge pull request #626 from jdpurcell/windowresizecombobox
jurplel Aug 27, 2023
b82fea2
Merge remote-tracking branch 'upstream/master'
jdpurcell Sep 4, 2023
ef2ded3
Make sure arrow keys don't scroll the image
jdpurcell Aug 26, 2023
673d876
Slightly reduce overscan amount
jdpurcell Aug 31, 2023
4116e30
Make fit overscan more like a setting than a constant
jdpurcell Sep 4, 2023
0ebe90c
Fix expensive scaling size calculation
jdpurcell Sep 1, 2023
1589918
Window sizing fixes
jdpurcell Sep 2, 2023
d638fbf
Rework scaling code to mitigate floating point rounding errors.
jdpurcell Sep 4, 2023
4ca66e8
Fix zoom to fit leaving a pixel gap sometimes if the window's aspect …
jdpurcell Sep 2, 2023
334851f
When fitting image, use exact 1.0 scaling ratio when possible.
jdpurcell Sep 2, 2023
355aca4
Change fit overscan to 0.
jdpurcell Sep 4, 2023
43b0409
Fix another centering issue that could cause 1 pixel offset
jdpurcell Sep 4, 2023
00a1d15
Fix Qt 5.9 build
jdpurcell Sep 4, 2023
5005981
Fix centering with rotate/flip/mirror commands
jdpurcell Sep 11, 2023
7196499
Allow arrow keys to scroll image in some cases.
jdpurcell Sep 17, 2023
9752608
Fix viewport not clearing when file is closed
jdpurcell Sep 28, 2023
27033de
Rename member variables to match naming convention
jdpurcell Sep 28, 2023
f1e3b3e
Lock zoom level if no image is loaded
jdpurcell Sep 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 17 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,22 @@ jobs:
strategy:
matrix:
include:
- runner: 'ubuntu-18.04'
- runner: 'ubuntu-20.04'
qtVersion: '5.15.2'
- runner: 'macOS-11'
- runner: 'ubuntu-20.04'
qtVersion: '5.9'
skipPlugins: 'true'
- runner: 'macos-latest'
qtVersion: '6.2.2'
- runner: 'macOS-10.15'
qtVersion: '5.12.12'
qtModules: 'qtimageformats'
- runner: 'macos-latest'
qtVersion: '5.15.2'
osSuffix: '_legacy'
skipHardPlugins: 'true'
- runner: 'windows-2019'
qtVersion: '6.2.2'
qtArch: 'win64_msvc2019_64'
osSuffix: '_64'
qtModules: 'qtimageformats'
- runner: 'windows-2019'
qtVersion: '5.15.2'
qtArch: 'win32_msvc2019'
Expand All @@ -51,20 +55,24 @@ jobs:
version: ${{ matrix.qtVersion }}
arch: ${{ matrix.qtArch }}
cache: true
modules: ${{ matrix.qtModules }}

- name: Build qView
shell: pwsh
run: ci/scripts/build.ps1
run: dist/scripts/build.ps1

- name: Deploy qView
shell: pwsh
run: |
if ("${{ matrix.skipPlugins }}" -ne "true") {
Invoke-Expression "& 'dist/scripts/download-plugins.ps1'"
}
if ($IsWindows) {
Invoke-Expression "& 'ci/scripts/windeployqt.ps1' ${{ env.buildNumString }}"
Invoke-Expression "& 'dist/scripts/windeployqt.ps1' ${{ env.buildNumString }}"
} elseif ($IsMacOS) {
bash ci/scripts/macdeploy.sh ${{ env.buildNumString }}
bash dist/scripts/macdeploy.sh ${{ env.buildNumString }}
} else {
bash ci/scripts/linuxdeployqt.sh ${{ env.buildNumString }}
bash dist/scripts/linuxdeployqt.sh ${{ env.buildNumString }}
}

- name: 'Upload Artifact'
Expand Down
2 changes: 2 additions & 0 deletions dist/linux/com.interversehq.qView.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
</provides>
<content_rating type="oars-1.0" />
<releases>
<release version="6.1" date="2023-08-15" />
<release version="6.0" date="2023-08-10" />
<release version="5.0" date="2022-01-12" />
<release version="4.0" date="2020-10-30" />
</releases>
Expand Down
6 changes: 3 additions & 3 deletions dist/linux/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
qview (5.0-5) bionic; urgency=low
qview (6.1-1) bionic; urgency=low

* Fix not requiring qtbase5-dev-tools
* Initial release

-- jurplel <jurplel@interversehq.com> Fri, 14 Jan 2022 20:44:22 -0500
-- jurplel <jurplel@interversehq.com> Tue, 15 Aug 2023 20:26:07 -0400
4 changes: 2 additions & 2 deletions dist/linux/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ Source: qview
Section: graphics
Priority: optional
Maintainer: jurplel <jurplel@interversehq.com>
Build-Depends: debhelper (>= 11), qtbase5-dev (>= 5.9), qtbase5-dev-tools (>= 5.9), qt5-qmake (>= 5.9), qttools5-dev-tools (>= 5.9)
Build-Depends: debhelper (>= 11), qtbase5-dev (>= 5.9), qtbase5-dev-tools (>= 5.9), qt5-qmake (>= 5.9), qttools5-dev-tools (>= 5.9), libqt5x11extras5-dev (>= 5.9)
Standards-Version: 4.1.3
Homepage: https://interversehq.com/qview

Package: qview
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libqt5widgets5 (>= 5.9), libqt5network5 (>= 5.9), libqt5concurrent5 (>= 5.9)
Depends: ${shlibs:Depends}, ${misc:Depends}, libqt5widgets5 (>= 5.9), libqt5network5 (>= 5.9), libqt5concurrent5 (>= 5.9), libqt5x11extras5 (>= 5.9)
Recommends: qt5-image-formats-plugins (>= 5.9), libqt5svg5 (>= 5.9)
Suggests: qt-heif-image-plugin (>= 0.3.3), kimageformats (>= 5.38.0)
Description: Practical and minimal image viewer
Expand Down
4 changes: 2 additions & 2 deletions dist/linux/debian/control_bionic
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ Source: qview
Section: graphics
Priority: optional
Maintainer: jurplel <jurplel@interversehq.com>
Build-Depends: debhelper (>= 11), qt5-default (>= 5.9), qttools5-dev-tools (>= 5.9)
Build-Depends: debhelper (>= 11), qt5-default (>= 5.9), qttools5-dev-tools (>= 5.9), libqt5x11extras5-dev (>= 5.9)
Standards-Version: 4.1.3
Homepage: https://interversehq.com/qview

Package: qview
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libqt5widgets5 (>= 5.9), libqt5network5 (>= 5.9), libqt5concurrent5 (>= 5.9)
Depends: ${shlibs:Depends}, ${misc:Depends}, libqt5widgets5 (>= 5.9), libqt5network5 (>= 5.9), libqt5concurrent5 (>= 5.9), libqt5x11extras5 (>= 5.9)
Recommends: qt5-image-formats-plugins (>= 5.9), libqt5svg5 (>= 5.9)
Suggests: qt-heif-image-plugin (>= 0.3.3), kimageformats (>= 5.38.0)
Description: Practical and minimal image viewer
Expand Down
5 changes: 3 additions & 2 deletions dist/linux/rpm/qview.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: qview
Version: 5.0
Version: 6.1
Release: 1
Summary: Practical and minimal image viewer

Expand All @@ -12,6 +12,7 @@ BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Concurrent) >= 5.9
BuildRequires: pkgconfig(Qt5Widgets) >= 5.9
BuildRequires: pkgconfig(Qt5Network) >= 5.9
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.9


%description
Expand Down Expand Up @@ -42,4 +43,4 @@ cp dist/linux/com.interversehq.qView.appdata.xml %{buildroot}/usr/share/metainfo
%license LICENSE
%doc README.md

%changelog
%changelog
62 changes: 0 additions & 62 deletions dist/mac/Info_legacy.plist

This file was deleted.

6 changes: 3 additions & 3 deletions ci/scripts/build.ps1 → dist/scripts/build.ps1
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/pwsh
#!/usr/bin/env pwsh

param
(
$Prefix = "/usr"
)

if ($IsWindows) {
ci/scripts/vcvars.ps1
dist/scripts/vcvars.ps1
}

if ((qmake --version -split '\n')[1][17] -eq '6') {
Expand All @@ -20,4 +20,4 @@ if ($IsWindows) {
nmake
} else {
make
}
}
111 changes: 111 additions & 0 deletions dist/scripts/download-plugins.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
#!/usr/bin/env pwsh

# This script will download binary plugins from the kimageformats-binaries repository using Github's API.

$pluginNames = "qtapng", "kimageformats"

$qtVersion = ((qmake --version -split '\n')[1] -split ' ')[3]
Write-Host "Detected Qt Version $qtVersion"

# Qt version availability and runner names are assumed.
if ($IsWindows) {
$imageName = "windows-2019"
} elseif ($IsMacOS) {
$imageName = "macos-latest"
} else {
$imageName = "ubuntu-20.04"
}

$binaryBaseUrl = "https://github.com/jurplel/kimageformats-binaries/releases/download/cont"

if ($pluginNames.count -eq 0) {
Write-Host "the pluginNames array is empty."
}

foreach ($pluginName in $pluginNames) {
$arch = If (-not $env:arch -or $env:arch -eq '') { "" } Else { "-$env:arch" }
$artifactName = "$pluginName-$imageName-$qtVersion$arch.zip"
$downloadUrl = "$binaryBaseUrl/$artifactName"

Write-Host "Downloading $downloadUrl"
Invoke-WebRequest -URI $downloadUrl -OutFile $artifactName
Expand-Archive $artifactName -DestinationPath $pluginName
Remove-Item $artifactName
}


if ($IsWindows) {
$out_frm = "bin/"
$out_imf = "bin/imageformats"
} elseif ($IsMacOS) {
$out_frm = "bin/qView.app/Contents/Frameworks"
$out_imf = "bin/qView.app/Contents/PlugIns/imageformats"
} else {
$out_frm = "bin/appdir/usr/lib"
$out_imf = "bin/appdir/usr/plugins/imageformats"
}

New-Item -Type Directory -Path "$out_frm" -ErrorAction SilentlyContinue
New-Item -Type Directory -Path "$out_imf" -ErrorAction SilentlyContinue

# Copy QtApng
if ($pluginNames -contains 'qtapng') {
if ($IsWindows) {
cp qtapng/QtApng/plugins/imageformats/qapng.dll "$out_imf/"
} elseif ($IsMacOS) {
cp qtapng/QtApng/plugins/imageformats/libqapng.dylib "$out_imf/"
} else {
cp qtapng/QtApng/plugins/imageformats/libqapng.so "$out_imf/"
}
}

if ($pluginNames -contains 'kimageformats') {
if ($IsWindows) {
mv kimageformats/kimageformats/output/kimg_*.dll "$out_imf/"
# Copy karchive
if (Test-Path -Path kimageformats/kimageformats/output/KF5Archive.dll -PathType Leaf) {
cp kimageformats/kimageformats/output/zlib1.dll "$out_frm/"
cp kimageformats/kimageformats/output/KF5Archive.dll "$out_frm/"
}
# copy avif stuff
if (Test-Path -Path kimageformats/kimageformats/output/avif.dll -PathType Leaf) {
cp kimageformats/kimageformats/output/avif.dll "$out_frm/"
cp kimageformats/kimageformats/output/aom.dll "$out_frm/"
}
# copy heif stuff
if (Test-Path -Path kimageformats/kimageformats/output/heif.dll -PathType Leaf) {
cp kimageformats/kimageformats/output/heif.dll "$out_frm/"
cp kimageformats/kimageformats/output/de265.dll "$out_frm/"
cp kimageformats/kimageformats/output/libx265.dll "$out_frm/"
}
# copy raw stuff
if (Test-Path -Path kimageformats/kimageformats/output/raw.dll -PathType Leaf) {
cp kimageformats/kimageformats/output/zlib1.dll "$out_frm/"
cp kimageformats/kimageformats/output/raw.dll "$out_frm/"
cp kimageformats/kimageformats/output/lcms2.dll "$out_frm/"
}
# copy jxl stuff
if (Test-Path -Path kimageformats/kimageformats/output/jxl.dll -PathType Leaf) {
cp kimageformats/kimageformats/output/jxl.dll "$out_frm/"
cp kimageformats/kimageformats/output/jxl_threads.dll "$out_frm/"
cp kimageformats/kimageformats/output/hwy.dll "$out_frm/"
cp kimageformats/kimageformats/output/brotlicommon.dll "$out_frm/"
cp kimageformats/kimageformats/output/brotlidec.dll "$out_frm/"
cp kimageformats/kimageformats/output/brotlienc.dll "$out_frm/"
}
# copy jxl stuff
if (Test-Path -Path kimageformats/kimageformats/output/OpenEXR-3_1.dll -PathType Leaf) {
cp kimageformats/kimageformats/output/zlib1.dll "$out_frm/"
cp kimageformats/kimageformats/output/OpenEXR-3_1.dll "$out_frm/"
cp kimageformats/kimageformats/output/Imath-3_1.dll "$out_frm/"
cp kimageformats/kimageformats/output/IlmThread-3_1.dll "$out_frm/"
cp kimageformats/kimageformats/output/Iex-3_1.dll "$out_frm/"
}
} elseif ($IsMacOS) {
cp kimageformats/kimageformats/output/*.so "$out_imf/"
cp kimageformats/kimageformats/output/libKF5Archive.5.dylib "$out_frm/"
} else {
cp kimageformats/kimageformats/output/kimg_*.so "$out_imf/"
cp kimageformats/kimageformats/output/libKF5Archive.so.5 "$out_frm/"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 8 additions & 7 deletions ci/scripts/windeployqt.ps1 → dist/scripts/windeployqt.ps1
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ param

# Download and extract openssl
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest https://mirror.firedaemon.com/OpenSSL/openssl-1.1.1q.zip -O openssl.zip
Invoke-WebRequest https://www.firedaemon.com/download-firedaemon-openssl-1-zip -O openssl.zip
7z x -y .\openssl.zip

# Check if "arch" environment variable is win32
Expand All @@ -21,10 +21,11 @@ if ($env:arch.substring(3, 2) -eq '32') {
# Run windeployqt which should be in path
windeployqt bin/qView.exe --no-compiler-runtime

# Do renaming-y stuff
mv bin\qView.exe "bin\qView-nightly-$NightlyVersion.exe"

# Call innomake if we are not building a nightly version (no version passed)
if ($NightlyVersion -ne '') {
& "ci/scripts/innomake.ps1"
}
if ($NightlyVersion -eq '') {
# Call innomake if we are not building a nightly version (no version passed)
& "dist/scripts/innomake.ps1"
} else {
# Do renaming-y stuff otherwise
mv bin\qView.exe "bin\qView-nightly-$NightlyVersion.exe"
}
4 changes: 2 additions & 2 deletions dist/win/qView32.iss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#define MyAppExeName "qView.exe"

; Update these when building
#define MyAppVersion "5.0"
#define MyAppYear "2022"
#define MyAppVersion "6.1"
#define MyAppYear "2023"

[Setup]
AppId={{A6A9BAAB-C59E-4EAB-ACE1-3EEDE3031880}
Expand Down
4 changes: 2 additions & 2 deletions dist/win/qView64.iss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#define MyAppExeName "qView.exe"

; Update these when building
#define MyAppVersion "5.0"
#define MyAppYear "2022"
#define MyAppVersion "6.1"
#define MyAppYear "2023"

[Setup]
AppId={{A6A9BAAB-C59E-4EAB-ACE1-3EEDE3031880}
Expand Down
Loading