Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt Contols:Cannot build it in Qt 5.0.1 (Ubuntu 12.04.2 LTS)
QtWS25 Last Chance

Qt Contols:Cannot build it in Qt 5.0.1 (Ubuntu 12.04.2 LTS)

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 3 Posters 2.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Simplevolk
    wrote on last edited by
    #1

    Hello!
    I try to build qt components (as i understand now it is Qt Controls) for Ubuntu+Qt 5.0.1 (build from source).
    Should i open issue on bug tracker?

    Error:
    cd src/ && ( test -f Makefile || /usr/bin/qmake5 /../../../../qtquickcontrols/src/src.pro -o Makefile ) && make -f Makefile
    make[1]: Entering directory /../../../qmlcomponents/qtquickcontrols/src' cd controls/ && ( test -f Makefile || /usr/bin/qmake5 /../../../qmlcomponents/qtquickcontrols/src/controls/controls.pro -o Makefile ) && make -f Makefile make[2]: Entering directory /../../../../qtquickcontrols/src/controls'
    g++ -c -pipe -O2 -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_LIBUDEV -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/../../Qt5.0.1/5.0.1/gcc/mkspecs/linux-g++ -I. -I/../../Qt5.0.1/5.0.1/gcc/include -I/../../Qt5.0.1/5.0.1/gcc/include/QtQuick -I/../../Qt5.0.1/5.0.1/gcc/include/QtQml -I/../../Qt5.0.1/5.0.1/gcc/include/QtWidgets -I/../../Qt5.0.1/5.0.1/gcc/include/QtNetwork -I/../../Qt5.0.1/5.0.1/gcc/include/QtGui -I/../../Qt5.0.1/5.0.1/gcc/include/QtGui/5.0.1 -I/../../Qt5.0.1/5.0.1/gcc/include/QtGui/5.0.1/QtGui -I/../../Qt5.0.1/5.0.1/gcc/include/QtCore -I/../../Qt5.0.1/5.0.1/gcc/include/QtCore/5.0.1 -I/../../Qt5.0.1/5.0.1/gcc/include/QtCore/5.0.1/QtCore -I.moc/release-shared -o .obj/release-shared/qtmenu.o qtmenu.cpp
    qtmenu.cpp: In member function ‘void QtMenu::setMinimumWidth(int)’:
    qtmenu.cpp:247:25: error: ‘class QPlatformMenu’ has no member named ‘setMinimumWidth’
    qtmenu.cpp: In member function ‘void QtMenu::setFont(const QFont&)’:
    qtmenu.cpp:253:25: error: ‘class QPlatformMenu’ has no member named ‘setFont’
    qtmenu.cpp: In member function ‘void QtMenu::__popup(qreal, qreal, int)’:
    qtmenu.cpp:318:25: error: ‘class QPlatformMenu’ has no member named ‘showPopup’
    make[2]: *** [.obj/release-shared/qtmenu.o] Error 1
    make[2]: Leaving directory
    make[1]: *** [sub-controls-make_first] Error 2
    make[1]: Leaving directory
    make: *** [sub-src-make_first] Error 2

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Why not update to Qt 5.1?

      (Z(:^

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Simplevolk
        wrote on last edited by
        #3

        It's solve my problem?

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          It might, as Qt Quick Controls are an integral part of 5.1.

          (Z(:^

          1 Reply Last reply
          0
          • J Offline
            J Offline
            Jens
            wrote on last edited by
            #5

            Yes you have no choice as the repository depends on functions that were added only in 5.1.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              Simplevolk
              wrote on last edited by
              #6

              Yes,it solved my problem.Thanks!

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved