Bug 996753 - Qt development package is missing
Qt development package is missing
Status: RESOLVED INVALID
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Development
Leap 42.2
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: E-mail List
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-01 01:30 UTC by Larry Finger
Modified: 2016-09-01 15:09 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Finger 2016-09-01 01:30: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.
Comment 1 Stefan Brüns 2016-09-01 02:08:04 UTC
$> 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
Comment 2 Ludwig Nussel 2016-09-01 07:35:13 UTC
I think you need libqt4-devel
Comment 3 Stefan Brüns 2016-09-01 13:42:18 UTC
Note: Since kernel version 4.4, both Qt4 and Qt5 will work:
http://lkml.iu.edu/hypermail/linux/kernel/1511.1/01884.html
Comment 4 Larry Finger 2016-09-01 14:24:37 UTC
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?
Comment 5 Stefan Brüns 2016-09-01 15:09:42 UTC
(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