Bugzilla – Bug 996753
Qt development package is missing
Last modified: 2016-09-01 15:09:42 UTC
When I try to use the 'make xconfig' command to configure the kernel, I get the following: inger@larrylap:~/wireless-drivers-next> make xconfig HOSTCXX scripts/kconfig/qconf.o scripts/kconfig/qconf.cc:7:21: fatal error: qglobal.h: No such file or directory #include <qglobal.h> ^ compilation terminated. scripts/Makefile.host:141: recipe for target 'scripts/kconfig/qconf.o' failed make[1]: *** [scripts/kconfig/qconf.o] Error 1 Makefile:545: recipe for target 'xconfig' failed make: *** [xconfig] Error 2 Using the full search capabilities of YaST, no packages providing this file are located.
$> zypper se -f qglobal.h Loading repository data... Reading installed packages... S | Name | Summary | Type --+------------------+---------------------------------------+-------- i | libQt5Core-devel | Qt 5 Core Library - development files | package https://build.opensuse.org/package/binaries/openSUSE:Leap:42.2/libqt5-qtbase?repository=standard
I think you need libqt4-devel
Note: Since kernel version 4.4, both Qt4 and Qt5 will work: http://lkml.iu.edu/hypermail/linux/kernel/1511.1/01884.html
Thanks for the comment, but that does not solve the problem. After installing that package, I get the following: finger@larrylap:~/wireless-drivers-next> make xconfig HOSTCXX scripts/kconfig/qconf.o scripts/kconfig/qconf.cc:9:23: fatal error: QMainWindow: No such file or directory #include <QMainWindow> ^ compilation terminated. scripts/Makefile.host:141: recipe for target 'scripts/kconfig/qconf.o' failed make[1]: *** [scripts/kconfig/qconf.o] Error 1 Makefile:545: recipe for target 'xconfig' failed make: *** [xconfig] Error 2 finger@larrylap:~/wireless-drivers-next> zypper se -f QMainWindow Loading repository data... Reading installed packages... S | Name | Summary | Type --+-----------+-------------------------------------------------------+-------- i | qt3-devel | Include Files and Libraries mandatory for Development | package finger@larrylap:~/wireless-drivers-next> sudo zypper in qt3-devel root's password: Loading repository data... Reading installed packages... 'qt3-devel' is already installed. No update candidate for 'qt3-devel-3.3.8c-137.4.x86_64'. The highest available version is already installed. Resolving package dependencies... Nothing to do. ================================================= Any further suggestions?
(In reply to Larry Finger from comment #4) > Thanks for the comment, but that does not solve the problem. After > installing that package, I get the following: > > finger@larrylap:~/wireless-drivers-next> make xconfig > HOSTCXX scripts/kconfig/qconf.o > scripts/kconfig/qconf.cc:9:23: fatal error: QMainWindow: No such file or > directory > #include <QMainWindow> > ^ > S | Name | Summary | Type > > --+-----------+-------------------------------------------------------+------ > -- > i | qt3-devel | Include Files and Libraries mandatory for Development | > Any further suggestions? Use google? As said, kernel 4.4 supports Qt4 and Qt5, not Qt3. For QMainWindow, you need either the package libqt4-devel, or libQt5Gui-devel