[Development] Qt 5.6/dev compilation from Git

Valery Kotov kotov.valery at gmail.com
Fri Sep 4 08:44:33 CEST 2015


Dear mailing list,

I would like to ask for a bit of support or for a hint maybe.
I used to use Building_Qt_5_from_Git article (
https://wiki.qt.io/Building_Qt_5_from_Git#Getting_the_source_code) on wiki
page and haven't experienced any issues compiling Qt framework until now.
But recently I've faced some difficulties during Qt 5.6/dev branches
compilation.

1. I've performed the following steps on Ubuntu 12.04:

git clone http://code.qt.io/qt/qt5.git
cd qt5
git checkout 5.6
perl init-repository --no-webkit --codereview-username <nickname>
./configure -developer-build -opensource -nomake examples -nomake tests
-confirm-license -no-gtkstyle
make

And received the following error:

.../qt5/qtbase/include/QtQuick/../../../qtdeclarative/src/quick/items/qquickwindow.h:73:41:
error: comma at end of enumerator list [-pedantic]
make[3]: *** [.obj/header_qquickview.o] Error 1
make[3]: Leaving directory `.../qt5/qtdeclarative/src/quick'
make[2]: *** [sub-quick-make_first-ordered] Error 2
make[2]: Leaving directory `.../qt5/qtdeclarative/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory .../qt5/qtdeclarative'
make: *** [module-qtdeclarative-make_first] Error 2

What is confuses me that git status qtdeclarative shows:
# Not currently on any branch.
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       src/qml/.generated/

If I try to checkout branch manualy for qtdeclarative:
git checkout 5.6
I receive the whole bunch of errors. Please see those in attachment
(compile.log).

I receive those errors even if I try to recompile from scratch:
cd qt5
git submodule foreach --recursive "git clean -dfx" && git clean -dfx
./configure -developer-build -opensource -nomake examples -nomake tests
-confirm-license -no-gtkstyle
make

2. I've also tried to perform compilation on another PC on Arch Linux.
Compilation is successful if I'm performing the following steps:
git clone git://code.qt.io/qt/qt5.git
cd qt5
git checkout 5.6
perl init-repository --no-webkit --codereview-username <nickname>
./configure -developer-build -opensource -nomake examples -nomake tests
-confirm-license -no-gtkstyle
make

But if I try to checkout and compile development brunch for qtdeclarative
module I receive the same errors I mentioned in compile.log.
I've tried "make distclean && ../qtbase/bin/qmake && make" and:
git submodule foreach --recursive "git clean -dfx" && git clean -dfx
./configure -developer-build -opensource -nomake examples -nomake tests
-confirm-license -no-gtkstyle
make
But result is the same.

I'm sorry for bothering but, unfortunately, I'm a bit stuck... And, which
is more unfortunate, I'm having a lack of ideas how I may handle this...

Any hints or suggestions are welcomed! And thank to your support in advance!

P.S. I'm sorry for sending it in 2 mailing listls... I wasn't sure if it
should be addressed to interest or development mailing list.

Sincerely yours,
Valery Kotov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150904/d99e9098/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compile.log
Type: application/octet-stream
Size: 63438 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150904/d99e9098/attachment.obj>


More information about the Development mailing list