Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

QT5 make fails on QUrl

$
0
0
HI, I’m building QT5 from GIT, but my make command fails on the QUrl class Here comes the error: In file included from ../../../../include/QtCore/qurl.h:1:0,                  from ../../../../include/QtGui/../../src/gui/kernel/qevent.h:56,                  from ../../../../include/QtGui/qevent.h:1,                  from ../../../../include/QtGui/QTouchEvent:1,                  from ../../../../include/QtGui/5.0.2/QtGui/qpa/../../../../../src/gui/kernel/qwindowsysteminterface.h:61,                  from ../../../../include/QtGui/5.0.2/QtGui/qpa/qwindowsysteminterface.h:1,                  from ../../../../include/QtGui/5.0.2/QtGui/private/../../../../../src/gui/kernel/qguiapplication_p.h:63,                  from ../../../../include/QtGui/5.0.2/QtGui/private/qguiapplication_p.h:1,                  from qeglfsintegration.cpp:48: ../../../../include/QtCore/../../src/corelib/io/qurl.h:130:9: error: expected identifier before numeric constant ../../../../include/QtCore/../../src/corelib/io/qurl.h:130:9: error: expected '}' before numeric constant ../../../../include/QtCore/../../src/corelib/io/qurl.h:130:9: error: expected unqualified-id before numeric constant ../../../../include/QtCore/../../src/corelib/io/qurl.h:160:26: error: 'UrlFormattingOption' was not declared in this scope ../../../../include/QtCore/../../src/corelib/io/qurl.h:160:72: error: template argument 1 is invalid ../../../../include/QtCore/../../src/corelib/io/qurl.h:160:91: error: invalid type in declaration before ';' token ../../../../include/QtCore/../../src/corelib/io/qurl.h:163:10: error: expected unqualified-id before ')' token ../../../../include/QtCore/../../src/corelib/io/qurl.h:164:10: error: expected unqualified-id before 'const' This error refers to folder qtbase/src/plugins/platforms/eglfs It seems that the “None” element of the struct defined in qurl.h is even a defined constant in an X11-header. Do you know how can I fix this? I think that there could be some particular value for the configure script to fix this.

Viewing all articles
Browse latest Browse all 2113

Latest Images

Trending Articles



Latest Images