Open lytex opened 6 years ago
Hmm, I tried a 32-bit compile and it had a different error. It may take me a while, I am going to Disney tomorrow for vacation. I won't have a 32-bit machine to work on :-(
On Fri, Oct 5, 2018, 13:21 lytex notifications@github.com wrote:
I've installed all required packages listed in INSTALL: qt5-default qtbase5-dev qtbase5-dev-tools qtdeclarative5-dev-tools qtchooser qttools5-dev-tools and qtcreator seq64 without qt compiles well as usual. I'm using debian i386.
Using the following commands, make gives an error: $ ./bootstrap --full-clean $ ./bootstrap -er -qt $ make
In file included from gui_palette_qt5.cpp:35:0: ../../seq_qt5/include/gui_palette_qt5.hpp:43:18: fatal error: QColor: No such file or directory #include
^ compilation terminated. Makefile:908: recipe for target 'gui_palette_qt5.lo' failed make[3]: [gui_palette_qt5.lo] Error 1 make[3]: Leaving directory 'xxxx/sequencer64/seq_qt5/src' Makefile:687: recipe for target 'all' failed make[2]: [all] Error 2 make[2]: Leaving directory 'xxxx/sequencer64/seq_qt5/src' Makefile:472: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory 'xxxx/sequencer64/seq_qt5' Makefile:608: recipe for target 'all-recursive' failed make: [all-recursive] Error 1 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ahlstromcj/sequencer64/issues/167, or mute the thread https://github.com/notifications/unsubscribe-auth/AHnVqDg1QLCATdsy0AgyPP1G6Chy02_zks5uh5UKgaJpZM4XKniW .
I've got the same result on a 64 bit Slackware machine running Linux 4.4.172 with qt5-5.9.7:
make[3]: Entering directory '/home/jeroen/Downloads/sequencer64/seq_qt5/src' CXX gui_assistant_qt5.lo CXX gui_palette_qt5.lo In file included from gui_palette_qt5.cpp:35:0: ../../seq_qt5/include/gui_palette_qt5.hpp:43:18: fatal error: QColor: No such file or directory compilation terminated. Makefile:918: recipe for target 'gui_palette_qt5.lo' failed make[3]: [gui_palette_qt5.lo] Error 1 make[3]: Leaving directory '/home/jeroen/Downloads/sequencer64/seq_qt5/src' Makefile:697: recipe for target 'all' failed make[2]: [all] Error 2 make[2]: Leaving directory '/home/jeroen/Downloads/sequencer64/seq_qt5/src' Makefile:471: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/jeroen/Downloads/sequencer64/seq_qt5' Makefile:607: recipe for target 'all-recursive' failed make: [all-recursive] Error 1
I cannot duplicate this error:
$ ./bootstrap --full-clean $ ./bootstrap -er -rm -qt $ make
The only thing I can think of is I have QT_SELECT=5 in my shell environment. Here is the output of qtchooser:
$ qtchooser -l 4 5 default qt4-x86_64-linux-gnu qt4 qt5-x86_64-linux-gnu qt5
This is on Ubuntu 18.04.2.
Try "locate QColor" and see what versions of the QColor header you have. I have:
/usr/include/qt4/QtGui/QColor /usr/include/x86_64-linux-gnu/qt5/QtGui/QColor
Oddly enough, I get a DSO build error (for QPainter::drawText) when I build my Seq66 project on my old Debian Sid laptop, but it builds fine on this Ubuntu laptop. Still can't figger that one out.
-------- Jeroen Rijckaert 10:15 Mon 11 Nov --------
I've got the same result on a 64 bit Slackware machine running Linux 4.4.172 with qt5-5.9.7:
make[3]: Entering directory '/home/jeroen/Downloads/sequencer64/seq_qt5/src' CXX gui_assistant_qt5.lo CXX gui_palette_qt5.lo In file included from gui_palette_qt5.cpp:35:0: ../../seq_qt5/include/gui_palette_qt5.hpp:43:18: fatal error: QColor: No such file or directory compilation terminated. Makefile:918: recipe for target 'gui_palette_qt5.lo' failed make[3]: [gui_palette_qt5.lo] Error 1 make[3]: Leaving directory '/home/jeroen/Downloads/sequencer64/seq_qt5/src' Makefile:697: recipe for target 'all' failed make[2]: [all] Error 2 make[2]: Leaving directory '/home/jeroen/Downloads/sequencer64/seq_qt5/src' Makefile:471: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/jeroen/Downloads/sequencer64/seq_qt5' Makefile:607: recipe for target 'all-recursive' failed make: [all-recursive] Error 1
— You are receiving this because you commented. Reply to this email directly, [1]view it on GitHub, or [2]unsubscribe.
References
Visible links
- https://github.com/ahlstromcj/sequencer64/issues/167?email_source=notifications&email_token=AB45LKFIYQT7R7UFN4HREOLQTGOMVA5CNFSM4FZKPCLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDXU4WY#issuecomment-552554075
- https://github.com/notifications/unsubscribe-auth/AB45LKA65WI5D2UAJ55LA23QTGOMVANCNFSM4FZKPCLA
-- All things that are, are with more spirit chased than enjoyed. -- Shakespeare, "Merchant of Venice"
I notice your QColor seems to be a qt4 version instead of qt5.
locate QColor gives this output on my machine:
/usr/include/qt5/QtWidgets/QColormap /usr/include/qt5/QtWidgets/QColorDialog /usr/include/qt5/QtGui/QColor /usr/include/qt5/Qt3DRender/QColorMask /usr/lib64/qt/include/QtGui/QColormap /usr/lib64/qt/include/QtGui/QColor /usr/lib64/qt/include/QtGui/QColorGroup /usr/lib64/qt/include/QtGui/QColorDialog
After running "./bootstrap -qt" and "make" on the git clone of today, I get the following error:
In file included from gui_palette_qt5.cpp:35:0: ../../seq_qt5/include/gui_palette_qt5.hpp:43:18: fatal error: QColor: No such file or directory compilation terminated.
seq66 seems to have the same issue, as I get a similar error message.
Do I need both qt4 and qt5 ?
Not sure. Will try uninstalling qt4 dev. Traveling today though.
On Sun, Dec 22, 2019, 14:49 Jeroen Rijckaert notifications@github.com wrote:
I notice your QColor seems to be a qt4 version instead of qt5.
locate QColor gives this output on my machine:
/usr/include/qt5/QtWidgets/QColormap /usr/include/qt5/QtWidgets/QColorDialog /usr/include/qt5/QtGui/QColor /usr/include/qt5/Qt3DRender/QColorMask /usr/lib64/qt/include/QtGui/QColormap /usr/lib64/qt/include/QtGui/QColor /usr/lib64/qt/include/QtGui/QColorGroup /usr/lib64/qt/include/QtGui/QColorDialog
After running "./bootstrap -qt" and "make" on the git clone of today, I get the following error:
In file included from gui_palette_qt5.cpp:35:0: ../../seq_qt5/include/gui_palette_qt5.hpp:43:18: fatal error: QColor: No such file or directory compilation terminated.
seq66 seems to have the same issue, as I get a similar error message.
Do I need both qt4 and qt5 ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ahlstromcj/sequencer64/issues/167?email_source=notifications&email_token=AB45LKFGUEO4X2EZKSJVLUTQZ7AE3A5CNFSM4FZKPCLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHPYS5A#issuecomment-568297844, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB45LKGWSQUMYJEL634673TQZ7AE3ANCNFSM4FZKPCLA .
I completely removed any qt4 dev files from this laptop, and I still cannot get any Qt errors to occur.
Maybe do the following and send the log to my gmail account:
./bootstrap --full-clean ./bootstrap -er -qt &> make.log make &>> make.log
It's all very puzzling. :-(
I'm running Ubuntu, what are you running?
-------- Jeroen Rijckaert 11:49 Sun 22 Dec --------
I notice your QColor seems to be a qt4 version instead of qt5.
locate QColor gives this output on my machine:
/usr/include/qt5/QtWidgets/QColormap /usr/include/qt5/QtWidgets/QColorDialog /usr/include/qt5/QtGui/QColor /usr/include/qt5/Qt3DRender/QColorMask /usr/lib64/qt/include/QtGui/QColormap /usr/lib64/qt/include/QtGui/QColor /usr/lib64/qt/include/QtGui/QColorGroup /usr/lib64/qt/include/QtGui/QColorDialog
After running "./bootstrap -qt" and "make" on the git clone of today, I get the following error:
In file included from gui_palette_qt5.cpp:35:0: ../../seq_qt5/include/gui_palette_qt5.hpp:43:18: fatal error: QColor: No such file or directory compilation terminated.
seq66 seems to have the same issue, as I get a similar error message.
Do I need both qt4 and qt5 ?
— You are receiving this because you commented. Reply to this email directly, [1]view it on GitHub, or [2]unsubscribe.
References
Visible links
- https://github.com/ahlstromcj/sequencer64/issues/167?email_source=notifications&email_token=AB45LKFGUEO4X2EZKSJVLUTQZ7AE3A5CNFSM4FZKPCLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHPYS5A#issuecomment-568297844
- https://github.com/notifications/unsubscribe-auth/AB45LKGWSQUMYJEL634673TQZ7AE3ANCNFSM4FZKPCLA
-- Debian Hint #12: The grep-dctrl package provides a number of useful scripts for quickly searching various package control files (such as the available packages file).
Running Slackware 14.2 with Qt5-5.9.8 (build from source using slackbuilds.org ) and also Qt-4.8.7 (original package from Slackware). I do not have qtchooser installed, perhaps I need this to set some variables for the correct Qt development environment?
I've removed the qt-4 package, but that also removed qmake. I've made a symbolic link to qmake-qt5 in order for it to work. Now the program does compile, but I get a "Segmentation fault" when running qseq64.
The qtchooser program seems to be not available for Slackware.
I've installed all required packages listed in INSTALL:
qt5-default qtbase5-dev qtbase5-dev-tools qtdeclarative5-dev-tools qtchooser qttools5-dev-tools and qtcreator
seq64 without qt compiles well as usual. I'm using debian i386.Using the following commands, make gives an error:
$ ./bootstrap --full-clean
$ ./bootstrap -er -qt
$ make