hello again, I've followed the Linux build Qt5 page and more I've installed qt5-default, I'm on a debian system.
I've tried to create a package and I got this:
dpkg-buildpackage: source package qlcplus
dpkg-buildpackage: source version 4.10.1
dpkg-buildpackage: source distribution stable
dpkg-buildpackage: source changed by Massimo Callegari <massimocallegari@yahoo.it>
dpkg-buildpackage: host architecture amd64
dpkg-source -I.git --before-build qlcplus-4.10.1
dpkg-checkbuilddeps: error: Unmet build dependencies: libqt4-dev (>= 4.6.0)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
Is it easy to fix?
regards
ok, maybe one has to install libqt4-dev too, I'm trying it now..
Linux qt5 build
-
- Posts: 1325
- Joined: Mon Apr 13, 2015 7:05 am
- Location: Bratislava, Slovakia
- Real Name: Jano Svitok
- Contact:
Start with updating https://github.com/mcallegari/qlcplus/b ... an/control and https://github.com/mcallegari/qlcplus/b ... us.install
I don't know how to force QT5 build. Try changing those two files, hope for the best and when the build fails, try to google dpkg-buildpackage parameters (e.g. https://bhavyanshu.me/how-to-make-debia ... 1/10/2014/ look for rules file)
I don't know how to force QT5 build. Try changing those two files, hope for the best and when the build fails, try to google dpkg-buildpackage parameters (e.g. https://bhavyanshu.me/how-to-make-debia ... 1/10/2014/ look for rules file)
-
- Posts: 553
- Joined: Tue May 26, 2015 6:17 pm
- Real Name:
hi Jano, tried..
and tried again with the original source after the installation of the qt4 packages:
debian/rules:11: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory '/home/gg/qlcplus-4.10.1'
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
and tried again with the original source after the installation of the qt4 packages:
debian/rules:11: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory '/home/gg/qlcplus-4.10.1'
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
- mcallegari
- Posts: 4710
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Moved to development forum.
Giacomo, are you aware of automated builds ?
http://www.qlcplus.org/downloads.html
We have Qt5 GIT and released versions for quite a few distros.
By the way, instead of creating a deb package, you can just invoke qmake of a prebuilt Qt5 version.
It's written in the wiki in the "Compile" paragraph. I'll copy here again:
Giacomo, are you aware of automated builds ?
http://www.qlcplus.org/downloads.html
We have Qt5 GIT and released versions for quite a few distros.
By the way, instead of creating a deb package, you can just invoke qmake of a prebuilt Qt5 version.
It's written in the wiki in the "Compile" paragraph. I'll copy here again:
Code: Select all
In general, you can invoke qmake with its absolute path. For example: /home/user/Qt5.4.1/5.4/gcc_64/bin/qmake
In this way you can build QLC+ with any Qt version, located where you prefer in your hard disk. If you wish to build QLC+ with the latest Qt version, you can get it here: https://www.qt.io/download-open-source/
-
- Posts: 553
- Joined: Tue May 26, 2015 6:17 pm
- Real Name:
Buongiorno Massimo,
yes I've tried everything before asking help, according to my modest skills!
as written in another post I wanted to control videos with qlcplus, I've tried the builds with xubuntu, kubuntu, debian testing (stable not working with qt5) and arch, compiled from aur and the lastly tried to build with debian testing.
In debian the package qt5-default should solve "You can quickly check if the version is correct by typing: qmake -v", I guess.
If I compile and manual install, what should I do for upgrade later, use the command "make uninstall"?
salute
yes I've tried everything before asking help, according to my modest skills!
as written in another post I wanted to control videos with qlcplus, I've tried the builds with xubuntu, kubuntu, debian testing (stable not working with qt5) and arch, compiled from aur and the lastly tried to build with debian testing.
In debian the package qt5-default should solve "You can quickly check if the version is correct by typing: qmake -v", I guess.
If I compile and manual install, what should I do for upgrade later, use the command "make uninstall"?
salute
- mcallegari
- Posts: 4710
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Yes, make uninstall will completely remove QLC+ from your computer.
Otherwise you can simply pull from GIT, make and make install will overwrite the existing installation.
Otherwise you can simply pull from GIT, make and make install will overwrite the existing installation.
-
- Posts: 703
- Joined: Mon Nov 02, 2015 11:03 am
- Location: Germany
- Real Name: Lukas
Hi guys,
tried that too. When trying to create a package I got the same result as giacomo.
On a manual install it seems to give me a test-error.
But I definitely donwloaded the sources from http://www.qlcplus.org/downloads.html.
Could you tell me where I'm wrong?
EDIT: I'm using Xubuntu 14.04 64Bit trying to build QLC+ 4.10.1 with Qt 5
tried that too. When trying to create a package I got the same result as giacomo.
On a manual install it seems to give me a test-error.
Code: Select all
efx_test.cpp: In member function ‘void EFX_Test::loadDuplicateFixture()’:
efx_test.cpp:2958:5: error: ‘QSKIP’ was not declared in this scope
QSKIP("Duplicate fixture are allowed because can animate differents parameters (RGB, dimmer, etc.)", SkipSingle);
^
Could you tell me where I'm wrong?
EDIT: I'm using Xubuntu 14.04 64Bit trying to build QLC+ 4.10.1 with Qt 5
- mcallegari
- Posts: 4710
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Apparently the issue is present when building with the Ubuntu 14.04 Qt5 version which is 5.2.1.siegmund wrote:Could you tell me where I'm wrong?
EDIT: I'm using Xubuntu 14.04 64Bit trying to build QLC+ 4.10.1 with Qt 5
I have fixed now on GIT, but you need to download the latest sources, not the released ones.
Or wait for 4.10.2
-
- Posts: 703
- Joined: Mon Nov 02, 2015 11:03 am
- Location: Germany
- Real Name: Lukas
You're completely right.mcallegari wrote:Apparently the issue is present when building with the Ubuntu 14.04 Qt5 version which is 5.2.1.siegmund wrote:Could you tell me where I'm wrong?
EDIT: I'm using Xubuntu 14.04 64Bit trying to build QLC+ 4.10.1 with Qt 5
Compiling works for now, but creating a package is still not working.mcallegari wrote: I have fixed now on GIT, but you need to download the latest sources, not the released ones.
Or wait for 4.10.2
By the way: Will there be automated builds on Qt 5 also for xUbuntu 14.04 in the future?
- mcallegari
- Posts: 4710
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Have you checked before asking ?siegmund wrote:By the way: Will there be automated builds on Qt 5 also for xUbuntu 14.04 in the future?
https://build.opensuse.org/package/show ... us-qt5-git
Of course I haven't enabled the released version yet cause the EFX test fix has been done afterward.
-
- Posts: 703
- Joined: Mon Nov 02, 2015 11:03 am
- Location: Germany
- Real Name: Lukas
At that time I had looked for the released version. But everything is fine since 4.10.2!mcallegari wrote:Have you checked before asking ?siegmund wrote:By the way: Will there be automated builds on Qt 5 also for xUbuntu 14.04 in the future?
https://build.opensuse.org/package/show ... us-qt5-git
Of course I haven't enabled the released version yet cause the EFX test fix has been done afterward.
Except some translation errors:
Code: Select all
Processing de_DE
lrelease: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/lrelease': No such file or directory
Processing es_ES
lrelease: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/lrelease': No such file or directory
Processing fr_FR
lrelease: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/lrelease': No such file or directory
[...]