Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Make install: Fatal error
iam new and i would compile the qtquickcontrols on my pc with qmake && make install.
I became the following error:
In file included from qquicklinearlayout_p.h:46:0,
qquickgridlayoutengine_p.h:57:43: fatal error: QtGui/private/qlayoutpolicy_p.h: file or directory not found
In the file qquickgridlayoutengine_p.h I found the following lines:
// W A R N I N G
// This file is not part of the Qt API. It exists for the convenience
// of the graphics view layout classes. This header
// file may change from version to version without notice, or even be removed.
// We mean it.
What must i do to compile the qtquickcontrols.
I have cloned the stable branch today and i use QT 5.2.1.
Thanks for help.
Hi, and welcome to the Qt Dev Net!
Qt 5.2.1 already contains Qt Quick Controls. You don't need to compile it manually.
Just download and install Qt 5.2.1 from http://qt-project.org/downloads
Thank you for your answer.
The qtquickcontrols on gitorius are newer. For example he has a calendar control. So i must compile the controls, but it does not work.
I hope, anybody can help me.
I don't think you can compile a new version of Qt Quick Controls just like that -- it will conflict with the version that came with Qt 5.2.1.
If you want the new features, you should download Qt 5.3.0 alpha and compile the whole thing: http://download.qt-project.org/development_releases/qt/5.3/5.3.0-alpha/single/
Ok, i have understand what you mean.
I have take a look into the file qquickgridlayoutengine_p.h on Tag v5.2.1 and i find the following includes:
In the stable branch and Tag v5.3.0-alpha1 the file has the following includes:
I think QtGui/private/qgridlayoutengine_p.h is new in QT v5.3.0 and i have no chance to compile this with QT v5.2.1, because the qgridlayoutengine_p.h does not exist.
I can wait for the stable of v5.3.0 to test the new controls or i install the alpha in a vm.
I understand the warnings in the header file better now.
Thanks for the note and have a nice day.
Glad I could help :)
A pre-beta of Qt 5.3 was JUST made available. You can grab it here: http://download.qt-project.org/snapshots/qt/5.3/5.3.0-beta/2014-03-12_5/
The full release will be at the end of next month. Won't have to wait long! http://qt-project.org/wiki/Qt-5.3-release