I’m not entirely sure if I’m posting this in the correct section, but it isn’t really directly programming related, so I thought the Applications section
would be appropriate. Please correct me if I’m wrong
I recently did a fresh openSUSE 13.1 install after a period of using Fedora 19 because I hoped to get Qt5 via the official repositories, which wasn’t available in openSUSE 12.3.
I was very happy to see that openSUSE 13.1 officially included Qt5, so that I could switch back to my favourite Linux distro
I installed the libqt5-creator and libQt5Declarative5 packages, the rest got dragged in automatically. So I booted up Qt 5.0 Creator after the installation had finished, I opened my old project that had worked fine using the Qt SDK downloaded from qt-project.org. And tried to compile it, but I got the following:
error: QtGui/QGuiApplication: No such file or directory #include <QtGui/QGuiApplication>
So I headed to Tools->Options->Build & Run->Qt Versions and to my surprise only Qt 4.8.5 was listed! Of course I tried to add Qt5 qmake but to no avail
I had exactly the same problems on Fedora 19 with Qt 5.1 from the official repositories, on my both distro’s I had installed the qt5-qttools package assuming that that would contain Qt5 qmake as I couldn’t find any qt5-qmake or similarly named package.
But I couldn’t find any Qt5 qmake executable in /usr/bin/, just “qmake” which was meant for Qt4. I also ran “find -iname qmake” as root user in / but to no avail too.
Does any know a solution to this problem and are there more installations suffering from this problem or am I on my own?
On Sat 23 Nov 2013 06:46:01 PM CST, Superpelican wrote:
Hello fellow openSUSE forum users,
I’m not entirely sure if I’m posting this in the correct section, but it
isn’t really directly programming related, so I thought the Applications
section
would be appropriate. Please correct me if I’m wrong
I recently did a fresh openSUSE 13.1 install after a period of using
Fedora 19 because I hoped to get Qt5 via the official repositories,
which wasn’t available in openSUSE 12.3.
I was very happy to see that openSUSE 13.1 officially included Qt5, so
that I could switch back to my favourite Linux distro
I installed the libqt5-creator and libQt5Declarative5 packages, the rest
got dragged in automatically. So I booted up Qt 5.0 Creator after the
installation had finished, I opened my old project that had worked fine
using the Qt SDK downloaded from qt-project.org. And tried to compile
it, but I got the following:
> error: QtGui/QGuiApplication: No such file or directory
> #include <QtGui/QGuiApplication>
>
>
So I headed to Tools->Options->Build & Run->Qt Versions and to my
surprise only Qt 4.8.5 was listed! Of course I tried to add Qt5 qmake
but to no avail
I had exactly the same problems on Fedora 19 with Qt 5.1 from the
official repositories, on my both distro’s I had installed the
qt5-qttools package assuming that that would contain Qt5 qmake as I
couldn’t find any qt5-qmake or similarly named package.
But I couldn’t find any Qt5 qmake executable in /usr/bin/, just “qmake”
which was meant for Qt4. I also ran “find -iname qmake” as root user in
/ but to no avail too.
Does any know a solution to this problem and are there more
installations suffering from this problem or am I on my own?
Kind Regards,
Superpelican
Hi
You need to install libqt5-qtbase-devel which contains qmake-qt5
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.101-0.8-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
The same problem here. I’ve installed libqt5-qtbase-devel libqt5-qttools-devel and libqt5-creator. Files from these packages are on HDD but QtCreator sees only Qt4.