I've been unable to compile Qt5 for a long time, until today that I've tried to build it from another directory, not from the git clone directory.

Instead of

$ git clone git://anongit.kde.org/qt/qt5.git --branch stable
$ cd qt5
$ ./init-repository
$ ./configure -prefix $PWD/qtbase -opensource -confirm-license -developer-build -nomake tests -nomake examples -dbus -no-separate-debug-info -xcb -qpa xcb -no-gtkstyle
$ make

I had to use:

$ git clone git://anongit.kde.org/qt/qt5.git --branch stable
$ cd qt5
$ ./init-repository
$ mkdir build
$ ../configure -prefix $PWD/qtbase -opensource -confirm-license -developer-build -nomake tests -nomake examples -dbus -no-separate-debug-info -xcb -qpa xcb -no-gtkstyle -no-warnings-are-errors
$ make
12:31, 15 December 2013

You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in one of the groups: Users, Administrators, trusted, KDEDevelopers.


You can view and copy the source of this page.

Return to Thread:Talk:Frameworks/Building/unable to finish Qt 5.2 compilation unless it is done in a different directory/reply.