Unsolved Free BSD <qtguiglobal.h> missing
-
hello, I'm installing Qt Creator on FreeBSD 12 current, I'm missing a file <qtguiglobal.h> that I do not locate in the FreeBSD repository.
here is my output:-I../../libs -I/usr/ports/devel/qtcreator/work/qt-creator-opensource-src-4.5.0/tools -I../../plugins -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtQuick -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtQml -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtConcurrent -I/usr/local/include/qt5/QtCore -I.moc/release-shared -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/release-shared/flamegraph.o flamegraph.cpp In file included from flamegraph.cpp:26: In file included from ./flamegraph.h:31: In file included from /usr/local/include/qt5/QtQuick/QQuickItem:1: In file included from /usr/local/include/qt5/QtQuick/qquickitem.h:43: /usr/local/include/qt5/QtQuick/qtquickglobal.h:44:10: fatal error: 'QtGui/qtguiglobal.h' file not found #include <QtGui/qtguiglobal.h> ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. *** Error code 1 Stop. make[6]: stopped in /usr/ports/devel/qtcreator/work/qt-creator-opensource-src-4.5.0/src/libs/flamegraph *** Error code 1 Stop. make[5]: stopped in /usr/ports/devel/qtcreator/work/qt-creator-opensource-src-4.5.0/src/libs *** Error code 1 Stop. make[4]: stopped in /usr/ports/devel/qtcreator/work/qt-creator-opensource-src-4.5.0/src *** Error code 1 Stop. make[3]: stopped in /usr/ports/devel/qtcreator/work/qt-creator-opensource-src-4.5.0 *** Error code 1 Stop. make[2]: stopped in /usr/ports/devel/qtcreator *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/qtcreator *** Error code 1 Stop. make: stopped in /usr/ports/devel/qtcreator root@hpc-bella:/usr/ports/devel/qtcreator #
How to solve this problem
Regards
philippe -
Hi and welcome to devnet,
Warning I'm no *BSD specialist.
That said, how did you install Qt ?
-
@SGaist said in Free BSD <qtguiglobal.h> missing:
That said, how did you install Qt ?
i intall since the ports : /usr/ports/devel/qtcreator && make install clean
during compilation it stops on the missing file -
Did you install all of Qt ?
[edit: added missing "all" SGaist]
-
not on this HPC (16 cores), but i have a station with qT
-
I just fixed the question from my post above.
Do you mean that you didn't install Qt on the machine where you are trying to build Qt Creator ?
-
yes that's fine, I just have Code :: Blocks on this HPC,
I do not understand why you ask me this is question, you are a QT expert? if so, I propose a transfer of skills! -
I ask you this question because you seem to want to build Qt Creator without having Qt installed on your machine. Qt Creator being an independent project using Qt, it's going to be pretty complicated.
-
yes indeed it was missing the base of QT4, I compile the latter.
but after this manipulation I am always in error with this missing file, here is my output:I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtQml -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtConcurrent -I/usr/local/include/qt5/QtCore -I.moc/release-shared -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/release-shared/flamegraph.o flamegraph.cpp In file included from flamegraph.cpp:26: In file included from ./flamegraph.h:31: In file included from /usr/local/include/qt5/QtQuick/QQuickItem:1: In file included from /usr/local/include/qt5/QtQuick/qquickitem.h:43: /usr/local/include/qt5/QtQuick/qtquickglobal.h:44:10: fatal error: 'QtGui/qtguiglobal.h' file not found #include <QtGui/qtguiglobal.h> ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. *** Error code 1 Stop.
this file qtguiglobal.h how can i found it and patch it ?
-
@philo_neo You need to install QtGui module as well.
-
You wrote Qt4, is that a typo ?
In any case, Qt Creator has a hard requirement on Qt 5 to build since a few versions. IIRC the lowest version if 5.6.2. However that doesn't have any influence on which version of Qt you can use to build your applications/libraries.
-
I will come back later, on a version of FreeBSD supported because the version 12 currente is not supported it is version 11.1 which is supported!
I would install QTcreator on the supported version!thank you