Skip to content

Commit

Permalink
Use Qt 6.5.3 to build plug-in on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
novomesk committed Dec 19, 2023
1 parent 65d00e4 commit 919a33f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ build_script:
nmake
cd qtbuild_6.2.4
cd qtbuild_6.5.3
C:\Qt\6.2.4\msvc2019_64\bin\qmake.exe qt-jpegxl-image-plugin_alternative_appveyor.pro
C:\Qt\6.5.3\msvc2019_64\bin\qmake.exe qt-jpegxl-image-plugin_alternative_appveyor.pro
nmake
artifacts:
- path: plugins\imageformats\qjpegxl.dll
- path: qtbuild_6.2.4\plugins\imageformats\qjpegxl.dll
- path: plugins\imageformats\*.dll
- path: qtbuild_6.5.3\*.dll
2 changes: 0 additions & 2 deletions qtbuild_6.2.4/.qmake.conf

This file was deleted.

Empty file added qtbuild_6.5.3/.qmake.conf
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TARGET = qjpegxl
TARGET = qjpegxl6

DEFINES += JXL_STATIC_DEFINE JXL_THREADS_STATIC_DEFINE

Expand All @@ -12,14 +12,14 @@ SOURCES += ../src/main.cpp

LIBS_PRIVATE += ../libjxl/build/lib/jxl-static.lib ../libjxl/build/lib/jxl_threads-static.lib ../libjxl/build/third_party/highway/hwy.lib ../libjxl/build/third_party/brotli/brotlidec.lib ../libjxl/build/third_party/brotli/brotlienc.lib ../libjxl/build/third_party/brotli/brotlicommon.lib

PLUGIN_TYPE = imageformats
PLUGIN_CLASS_NAME = QJpegXLPlugin
load(qt_plugin)
TEMPLATE = lib

CONFIG += release skip_target_version_ext c++14 warn_on
CONFIG += release skip_target_version_ext c++14 warn_on plugin
CONFIG -= separate_debug_info debug debug_and_release force_debug_info

win32:VERSION = 0.5.0
QMAKE_TARGET_COMPANY = "Daniel Novomesky"
QMAKE_TARGET_PRODUCT = "qt-jpegxl-image-plugin"
QMAKE_TARGET_DESCRIPTION = "Qt plug-in to allow Qt and KDE based applications to read/write JPEG XL images."
QMAKE_TARGET_COPYRIGHT = "Copyright (C) 2020-2023 Daniel Novomesky"
QMAKE_TARGET_COMMENTS = "Build using Qt 6.5.3"

0 comments on commit 919a33f

Please sign in to comment.