Unable to build Qt5 from git.



  • I tried to build Qt from git, and is following the instructions given here http://qt-project.org/wiki/Building_Qt_5_from_Git.
    But when I run ./configure, it gives me error

    /home/inderpreet/qt5/qtbase/src/corelib/global/qlogging.cpp:783:8: error: ‘QtMsgHandler’ does not name a type
    /home/inderpreet/qt5/qtbase/src/corelib/global/qlogging.cpp: In function ‘void qt_message_print(QtMsgType, const QMessageLogContext&, const QString&)’:
    /home/inderpreet/qt5/qtbase/src/corelib/global/qlogging.cpp:823:10: error: ‘msgHandler’ was not declared in this scope
    /home/inderpreet/qt5/qtbase/src/corelib/global/qlogging.cpp:829:9: error: ‘msgHandler’ was not declared in this scope
    /home/inderpreet/qt5/qtbase/src/corelib/global/qlogging.cpp: At global scope:
    /home/inderpreet/qt5/qtbase/src/corelib/global/qlogging.cpp:1028:1: error: ‘QtMsgHandler’ does not name a type

    I am working on Ubuntu 12.04.

    Am i missing something?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.