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

Enginio failing to build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.0 RC1
    • 5.3.0 Beta1
    • Packaging & Installer
    • None
    • Ubuntu Linux 13.10, Mac OS 10.9. Building Qt from source from distribution bundle.

    Description

      When building Qt 5.3.0 beta from source I get compile errors like this when it builds enginio:

      g++ -c -pipe -msse2 -mfpmath=sse -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c+0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_XKB -DENGINIOCLIENT_LIBRARY -DQT_BUILD_ENGINIO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/local/Qt-5.3.0/mkspecs/linux-g+ -I. -I../../include -I../../include/Enginio -I/home/tranter/ics/qt-everywhere-opensource-src-5.3.0-beta/qtenginio/include/Enginio/1.0.4 -I/home/tranter/ics/qt-everywhere-opensource-src-5.3.0-beta/qtenginio/include/Enginio/1.0.4/Enginio -I/usr/local/Qt-5.3.0/include -I/usr/local/Qt-5.3.0/include/QtNetwork -I/usr/local/Qt-5.3.0/include/QtCore/5.3.0 -I/usr/local/Qt-5.3.0/include/QtCore/5.3.0/QtCore -I/usr/local/Qt-5.3.0/include/QtGui -I/usr/local/Qt-5.3.0/include/QtCore -I.moc -o .obj/enginiobackendconnection.o enginiobackendconnection.cpp
      enginiobackendconnection.cpp:42:56: fatal error: Enginio/private/enginiobackendconnection_p.h: No such file or directory
      #include <Enginio/private/enginiobackendconnection_p.h>

      It is looking in the wrong include directory. The directory is include/Enginio/5.3.0 but the include path is set to include/Enginio/1.0.4. A possible fix that worked for me is to edit qtenginio/.qmake.conf and change

      MODULE_VERSION = 1.0.4

      to

      MODULE_VERSION = 5.3.0

      Attachments

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

        Activity

          People

            releaseteam Qt Release Team
            tranter Jeff Tranter
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes