Results 1 to 2 of 2

Thread: qtwayland not building

  1. #1
    Join Date
    Jun 2013
    Posts
    3
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Android Maemo/MeeGo

    Default qtwayland not building

    I am trying to bring up qtwayland for qt 5.0.0

    I have checked out the qtwayland repo and I am on stable branch at hash:f3db15cfb084ed4d2b3aedf5df0d3dc4f91918ff


    --------------------------------::log::------------------------

    bash-4.1# qmake
    Info: creating cache file /mnt/qtwayland/.qmake.cache
    Checking for wayland... yes
    Checking for xkbcommon... yes
    Checking for wayland_scanner... yes
    Checking for wayland_egl... yes
    Checking for egl... yes
    Checking for brcm_egl... no
    Checking for glx... yes
    Checking for xcomposite... no
    bash-4.1# make
    cd src/ && ( test -f Makefile || /usr/local/Qt-5.0.0/bin/qmake /mnt/qtwayland/src/src.pro -o Makefile ) && make -f Makefile
    make[1]: Entering directory `/mnt/qtwayland/src'
    cd qtwaylandscanner/ && ( test -f Makefile || /usr/local/Qt-5.0.0/bin/qmake /mnt/qtwayland/src/qtwaylandscanner/qtwaylandscanner.pro -o Makefile ) && make -f Makefile
    make[2]: Entering directory `/mnt/qtwayland/src/qtwaylandscanner'
    g++ -c -m32 -pipe -O2 -Wall -W -D_REENTRANT -fno-exceptions -fPIE -DQT_NO_DEBUG -DQT_BOOTSTRAP_LIB -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT_NO_TRANSLATION -DQT_QMAKE_LOCATION="/mnt/qt-everywhere-opensource-src-5.0.0/qtbase/bin/qmake" -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/local/Qt-5.0.0/mkspecs/linux-g++-32 -I. -I/usr/local/Qt-5.0.0/include -I/usr/local/Qt-5.0.0/include/QtCore -I/usr/local/Qt-5.0.0/include/QtCore/5.0.0 -I/usr/local/Qt-5.0.0/include/QtCore/5.0.0/QtCore -I/usr/local/Qt-5.0.0/include/QtXml -I/usr/local/Qt-5.0.0/include/QtXml/5.0.0 -I/usr/local/Qt-5.0.0/include/QtXml/5.0.0/QtXml -o .obj/release-shared/qtwaylandscanner.o qtwaylandscanner.cpp
    In file included from /usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h:47:0,
    from /usr/local/Qt-5.0.0/include/QtCore/QCoreApplication:1,
    from qtwaylandscanner.cpp:42:
    /usr/local/Qt-5.0.0/include/QtCore/qeventloop.h:55:1: error: invalid use of incomplete type ‘struct QObject’
    /usr/local/Qt-5.0.0/include/QtCore/qobjectdefs.h:235:7: error: forward declaration of ‘struct QObject’
    /usr/local/Qt-5.0.0/include/QtCore/qeventloop.h: In member function ‘QEventLoopPrivate* QEventLoop::d_func()’:
    /usr/local/Qt-5.0.0/include/QtCore/qeventloop.h:57:5: error: ‘d_ptr’ was not declared in this scope
    /usr/local/Qt-5.0.0/include/QtCore/qeventloop.h: In member function ‘const QEventLoopPrivate* QEventLoop::d_func() const’:
    /usr/local/Qt-5.0.0/include/QtCore/qeventloop.h:57:5: error: ‘d_ptr’ was not declared in this scope
    /usr/local/Qt-5.0.0/include/QtCore/qeventloop.h: At global scope:
    /usr/local/Qt-5.0.0/include/QtCore/qeventloop.h:99:39: error: expected ‘)’ before ‘*’ token
    In file included from /usr/local/Qt-5.0.0/include/QtCore/QCoreApplication:1:0,
    from qtwaylandscanner.cpp:42:
    /usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h:69:1: error: invalid use of incomplete type ‘struct QObject’
    /usr/local/Qt-5.0.0/include/QtCore/qobjectdefs.h:235:7: error: forward declaration of ‘struct QObject’
    /usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h: In member function ‘QCoreApplicationPrivate* QCoreApplication::d_func()’:
    /usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h:77:5: error: ‘d_ptr’ was not declared in this scope
    /usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h: In member function ‘const QCoreApplicationPrivate* QCoreApplication::d_func() const’:
    /usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h:77:5: error: ‘d_ptr’ was not declared in this scope
    /usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h: In static member function ‘static QString QCoreApplication::translate(const char*, const char*, const char*, int)’:
    /usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h:209:99: error: return type ‘struct QString’ is incomplete
    /usr/local/Qt-5.0.0/include/QtCore/qcoreapplication.h:211:12: error: incomplete type ‘QString’ used in nested name specifier
    make[2]: *** [.obj/release-shared/qtwaylandscanner.o] Error 1
    make[2]: Leaving directory `/mnt/qtwayland/src/qtwaylandscanner'
    make[1]: *** [sub-qtwaylandscanner-make_first-ordered] Error 2
    make[1]: Leaving directory `/mnt/qtwayland/src'
    make: *** [sub-src-make_first] Error 2

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Thanks in advance..!!

  2. #2
    Join Date
    Jun 2013
    Posts
    3
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Android Maemo/MeeGo

    Default Re: qtwayland not building

    After looking at the commits, I happened to contact a qtwayland developer for the issue.
    The problem is related to qtbase :
    Can you check if you have commit
    59fc1102f304e3d103eaa5d9cd69acb7402efc28 in your qtbase

    Might be in 5.0.0 release this is not present.

    Still I am not sure if it fixes.!

Similar Threads

  1. Building QT example
    By Aman607 in forum Qt Programming
    Replies: 2
    Last Post: 12th June 2011, 12:10
  2. Re-Building Qt on Mac
    By dpatel in forum Qt Programming
    Replies: 0
    Last Post: 18th May 2011, 12:16
  3. Building X11 on Mac
    By wjlyerly in forum Installation and Deployment
    Replies: 1
    Last Post: 14th February 2010, 16:59
  4. Building Qt 4.6 rc
    By eekhoorn12 in forum Installation and Deployment
    Replies: 4
    Last Post: 3rd December 2009, 07:13
  5. Building on OSX
    By sbauer in forum Newbie
    Replies: 4
    Last Post: 4th September 2009, 14:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.