ImageFormats
-
I am using Qt 6.4 and Qt Creator 9.0.1 in Linux Mint and Windows 10 and cmake .
I need some further crossover Image handling. (TIFF support)import QtQuick 2.12 import QtQuick.Window 2.12 //import QtImageFormats 1.0 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") color: "green" Image { id: imageView anchors.fill: parent //source: "file:///D:/Bilder/TEST_images/start.png" source: "file:///D:/Bilder/TEST_images/test.tif" fillMode: Image.PreserveAspectFit } }The Tiff image is shown when i run with msvc but not with mingw or gcc /g++ (on Linux)
I installed QtImageFormats with MaintenanceTool (on linux and windows) and tried to add it in the qml file and in the cmake file (find_package and set_target) but it doesnt work. When i activate line 3 in qml code ( //import QtImageFormats 1.0) i get error: "module "QtImageFormats" is not installed" but i found it in the QT plugins folder.I can solve this issue in Windows using msvc but what can i do on the Linux System?
-
Hi and welcome to devnet,
I would guess that is a package issue, unless explicitly disabled the plugin should be built and thus made available.
You should check the bug report system to see if there's already something related.