Compiling on OpenSUSE
-
I just installed QT 5.7 on OpenSUSE Leap 42.1with GNOME and created a fresh project. When I attempt to compile the program I get the following error message:
Error while building/deploying project untitled (kit: Desktop Qt 5.7.0 GCC 64bit)
When executing step "qmake". -
Hi and welcome to devnet,
Can you post the full error text ?
-
That is the full text in the compile output, unless there is more text in some file.
-
What do you have in the compile output panel ?
-
The following text:
Error while building/deploying project untitled (kit: Desktop Qt 5.7.0 GCC 64bit)
When executing step "qmake" -
Ok, then if you go in the preference under Build and Run is there anything suspicious in the Kit ?
-
It says that there is no compiler set in the kit Desktop Qt 5.7.0 GCC 64bit
-
Then you have to install gcc before you can continue.
-
Now, instead of not being able to compile, in the issues tab it says:
cannot find -IGL
and
collect2: error: Id returned 1 exit status. -
Hi, try
sudo zypper in xorg-x11-libxcb-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-renderutil-devel xcb-util-wm-devel xorg-x11-devel libxkbcommon-devel libXi-devel
(Copied from https://wiki.qt.io/Building_Qt_5_from_Git
I don't think all is necessary but can't hurt.) -
Thank you! Now it works.