Qt 5.2.1 stable (Android) build error in release mode



  • global/qlogging.cpp: In function 'void qDefaultMessageHandler(QtMsgType, const QMessageLogContext&, const QString&)':
    global/qlogging.cpp:884:62: error: 'priority' may be used uninitialized in this function [-Werror=maybe-uninitialized]
    context.function, qPrintable(message));
    ^
    global/qlogging.cpp:874:25: note: 'priority' was declared here
    android_LogPriority priority;
    ^
    cc1plus: all warnings being treated as errors


Log in to reply
 

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