QLCplus 5.x Linux build
Posted: Tue Sep 22, 2020 6:38 am
Hello Massimo,
I worked my way to build qlcplus v5.x / qmlui in Linux.
These are my findings.
Patch files
--------------------------------
variables.pri.patch
Put the variant selection variable into the variables file to enable builds also through e.g. create-deb.sh
qlc.pro.patch
Let the uittests know what we are testing
unittest.sh.patch
Update the test script to reflect the test selection of the version.
Update pushd / popd to use the new paths and display the 'cd' for debugging.
unittest.bat.patch
My try to reflect the variant-specific test selection in the Windows file (untested, please refine).
Question: Is there a reason not to execute the tests from the Makefiles to directly use the qmake configuration? I prototyped this for generalfader and for Linux, there does not seem to be a blocking point in this environment, but I saw some extras in the Windows environment which might be a hindrance.
resources_resources.pro.patch
Include variables to identify version.
engine_test_test.pro.patch
Include variables to identify version.
doc_test.cpp-needs-maintenance.patch
This test requires some maintenance. I only marked / deactivated the failing tests.
Environment findings along the way
--------------------------------
https://bugs.debian.org/cgi-bin/bugrepo ... bug=909306
The Debian maintainers had removed the qt3dextras headers, including some which are used by QLCplus because they perceived them as unstable. This change was ingested by Ubuntu and is still in 20.04. I migrated my development environment towards Ubuntu 20.10 (QT 5.14.2). This fixed the Qt3DExtras/QPhongMaterial not found error.
On the way of debugging, I found this one:
https://doc.qt.io/qt-5.12/qt3dextras-qp ... erial.html
This class is deprecated; use QDiffuseSpecularMaterial instead.
They seem to be quite API-similar.
When running the program in Linux, the UI (menu icons) are not yet aligned properly and cannot be clicked.
I suggest to fix the build first and then go on to stabilize the build towards Linux.
What do you think?
Hans-Jürgen
I worked my way to build qlcplus v5.x / qmlui in Linux.
These are my findings.
Patch files
--------------------------------
variables.pri.patch
Put the variant selection variable into the variables file to enable builds also through e.g. create-deb.sh
qlc.pro.patch
Let the uittests know what we are testing
unittest.sh.patch
Update the test script to reflect the test selection of the version.
Update pushd / popd to use the new paths and display the 'cd' for debugging.
unittest.bat.patch
My try to reflect the variant-specific test selection in the Windows file (untested, please refine).
Question: Is there a reason not to execute the tests from the Makefiles to directly use the qmake configuration? I prototyped this for generalfader and for Linux, there does not seem to be a blocking point in this environment, but I saw some extras in the Windows environment which might be a hindrance.
resources_resources.pro.patch
Include variables to identify version.
engine_test_test.pro.patch
Include variables to identify version.
doc_test.cpp-needs-maintenance.patch
This test requires some maintenance. I only marked / deactivated the failing tests.
Environment findings along the way
--------------------------------
https://bugs.debian.org/cgi-bin/bugrepo ... bug=909306
The Debian maintainers had removed the qt3dextras headers, including some which are used by QLCplus because they perceived them as unstable. This change was ingested by Ubuntu and is still in 20.04. I migrated my development environment towards Ubuntu 20.10 (QT 5.14.2). This fixed the Qt3DExtras/QPhongMaterial not found error.
On the way of debugging, I found this one:
https://doc.qt.io/qt-5.12/qt3dextras-qp ... erial.html
This class is deprecated; use QDiffuseSpecularMaterial instead.
They seem to be quite API-similar.
When running the program in Linux, the UI (menu icons) are not yet aligned properly and cannot be clicked.
I suggest to fix the build first and then go on to stabilize the build towards Linux.
What do you think?
Hans-Jürgen