Closed bagage closed 6 years ago
Hey thanks for reaching out!
What distribution/version are you using and what are the outputs of qmake --version
and g++ --version
?
I'm using debian buster:
$ qmake --version
QMake version 2.01a
Using Qt version 4.8.7 in /usr/lib/x86_64-linux-gnu
$ g++ --version
g++ (Debian 8.2.0-7) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ QT_SELECT=qt5 qmake --version
QMake version 3.1
Using Qt version 5.11.1 in /usr/lib/x86_64-linux-gnu
On Debian it seems you have to set QT_SELECT=qt5 to make qtchooser use the right qmake. If set, everythings goes right :).
Okay thanks!
When editing autogen.sh
and setting the QT_SELECT
environment variable before starting qmake, does the compilation then work for you?
Yes it does :).
Thanks a lot, I just added this to the autogen.sh
script :smile:
That was a quick fix, thanks @pentix. BTW qjournalctl already helped me to decrease my boot time from 20sec to 5sec :D. Really cool software I was looking for for ages!
Yeah, all alarms going off here when there's a qjournalctl
mail incoming :joy:
Wow, that's cool to hear, thanks a lot! :)
When compiling with
./autogen.sh && make
, it fails to compile because of:However I believe it's because it tries to use qt4 compiler instead of qt5. It should not use qt4 compiler at any moment I guess.