Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-55471

Compiler errors with Qt Quick Compiler

    XMLWordPrintable

    Details

      Description

      Building QtVirtualKeyboard with QtQuickCompiler (2fb03180754aa5f9ca640e9cdd264a7a3166149b) causes compiler errors:

      /build/Qt/5.6/gcc_64/bin/qtquickcompiler --resource=/home/sapiippo/development/qt/qtvirtualkeyboard/src/virtualkeyboard/content/styles/default/default_style.qrc --resource=/home/sapiippo/development/qt/qtvirtualkeyboard/src/virtualkeyboard/content/styles/retro/retro_style.qrc --resource=/home/sapiippo/development/qt/qtvirtualkeyboard/src/virtualkeyboard/content/content.qrc --resource=/home/sapiippo/development/qt/qtvirtualkeyboard/src/virtualkeyboard/layouts.qrc content/styles/default/style.qml .qtquickcompiler/content_styles_default_style_qml.cpp
      g++ -c -pipe -O2 -std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_VIRTUALKEYBOARD_DEFAULT_STYLE=\"default\" -DQT_VIRTUALKEYBOARD_DESKTOP -DQT_VIRTUALKEYBOARD_HAVE_XCB -DCOMPILING_QML -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/build/Qt/5.6/gcc_64/include -I/build/Qt/5.6/gcc_64/include/QtQuick -I/build/Qt/5.6/gcc_64/include/QtGui/5.6.2 -I/build/Qt/5.6/gcc_64/include/QtGui/5.6.2/QtGui -I/build/Qt/5.6/gcc_64/include/QtGui -I/build/Qt/5.6/gcc_64/include/QtQml -I/build/Qt/5.6/gcc_64/include/QtNetwork -I/build/Qt/5.6/gcc_64/include/QtCore/5.6.2 -I/build/Qt/5.6/gcc_64/include/QtCore/5.6.2/QtCore -I/build/Qt/5.6/gcc_64/include/QtCore -I/build/Qt/5.6/gcc_64/include/QtQml/5.6.2 -I/build/Qt/5.6/gcc_64/include/QtQml/5.6.2/QtQml -I.moc -I/usr/include/libdrm -I/build/Qt/5.6/gcc_64/mkspecs/linux-g++ -o .obj/content_styles_default_style_qml.o .qtquickcompiler/content_styles_default_style_qml.cpp
      .qtquickcompiler/content_styles_default_style_qml.cpp: In function ‘QV4::ReturnedValue {anonymous}::jsfunction_38(QV4::ExecutionEngine*)’:
      .qtquickcompiler/content_styles_default_style_qml.cpp:870:5: error: ‘temp_double_0’ was not declared in this scope
           temp_double_0 = (double)temp_double_1*(double)hex2double(0x3ff3333333333333 /* = 1.2 */);
           ^
      .qtquickcompiler/content_styles_default_style_qml.cpp: In function ‘QV4::ReturnedValue {anonymous}::jsfunction_40(QV4::ExecutionEngine*)’:
      .qtquickcompiler/content_styles_default_style_qml.cpp:930:5: error: ‘temp_double_0’ was not declared in this scope
           temp_double_0 = (double)temp_double_1*(double)hex2double(0x3fe999999999999a /* = 0.8 */);
           ^
      .qtquickcompiler/content_styles_default_style_qml.cpp: In function ‘QV4::ReturnedValue {anonymous}::jsfunction_343(QV4::ExecutionEngine*)’:
      .qtquickcompiler/content_styles_default_style_qml.cpp:6200:5: error: ‘temp_double_1’ was not declared in this scope
           temp_double_1 = (double)temps[2].toNumber();
           ^
      .qtquickcompiler/content_styles_default_style_qml.cpp:6201:5: error: ‘temp_double_2’ was not declared in this scope
           temp_double_2 = (double)temp_double_3*(double)temp_double_1;
           ^
      make[2]: *** [.obj/content_styles_default_style_qml.o] Error 1
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            shausman Simon Hausmann
            Reporter:
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes