Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Error building QtCreator from git repo [Solved]

Error building QtCreator from git repo [Solved]

Scheduled Pinned Locked Moved Qt Creator and other tools
qtcreatorqt5.5qttools
5 Posts 2 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.
  • R Offline
    R Offline
    rajeeja
    wrote on last edited by rajeeja
    #1

    I'm trying to install qtcreator on Ubuntu 14.04 system that I don't have admin rights on. so:

    1. Install qt from source as I need the latest version (5.5 or above for qtcreator)
      Qt installation works fine, but as mentioned in other posts (http://forum.qt.io/topic/50864/building-qtcreator-3-3-0-project-error-unknown-module-s-in-qt-designercomponents-private/4) I manually did make install in qt5/qttools/src/designer/src/ lib, components, designer folder. Is there something else that I'm missing. I install qt to a prefix and set it as path?
      Used these options for configuring qt:
      ./configure -qt-xcb -developer-build -opensource -confirm-license -optimized-qmake -prefix /homes/jain/qtinstall -nomake examples -nomake tests

    2. Install qtcreator from git
      Installing qtcreator, qmake step works fine. I get the error (This is with current master Oct 7 2015):
      Please let me know how to proceed?

    In file included from ../../../../qt-creator/src/libs/utils/shellcommand.cpp:31:0:
    ../../../../qt-creator/src/libs/utils/shellcommand.h:118:19: error: expected ‘;’ at end of member declaration
    ../../../../qt-creator/src/libs/utils/shellcommand.h:118:21: error: ‘override’ does not name a type
    ../../../../qt-creator/src/libs/utils/shellcommand.cpp:90:84: sorry, unimplemented: non-static data member initializers
    ../../../../qt-creator/src/libs/utils/shellcommand.cpp:90:84: error: in-class initialization of static data member ‘m_proxyFactory’ of non-literal type
    ../../../../qt-creator/src/libs/utils/shellcommand.cpp: In member function ‘virtual Utils::SynchronousProcessResponse Utils::ShellCommand::runCommand(const Utils::FileName&, const QStringList&, int, const QString&, Utils::ExitCodeInterpreter)’:
    ../../../../qt-creator/src/libs/utils/shellcommand.cpp:338:42: error: ‘class Utils::Internal::ShellCommandPrivate’ has no member named ‘m_proxyFactory’
    ../../../../qt-creator/src/libs/utils/shellcommand.cpp: In member function ‘Utils::SynchronousProcessResponse Utils::ShellCommand::runSynchronous(const Utils::FileName&, const QStringList&, int, const QString&, Utils::ExitCodeInterpreter)’:
    ../../../../qt-creator/src/libs/utils/shellcommand.cpp:419:42: error: ‘class Utils::Internal::ShellCommandPrivate’ has no member named ‘m_proxyFactory’
    ../../../../qt-creator/src/libs/utils/shellcommand.cpp: In member function ‘virtual bool Utils::ShellCommand::runFullySynchronous(const Utils::FileName&, const QStringList&, int, QByteArray, QByteArray, const QString&)’:
    ../../../../qt-creator/src/libs/utils/shellcommand.cpp:482:42: error: ‘class Utils::Internal::ShellCommandPrivate’ has no member named ‘m_proxyFactory’
    ../../../../qt-creator/src/libs/utils/shellcommand.cpp: In member function ‘void Utils::ShellCommand::setOutputProxyFactory(const std::functionUtils::OutputProxy*()&)’:
    ../../../../qt-creator/src/libs/utils/shellcommand.cpp:547:8: error: ‘class Utils::Internal::ShellCommandPrivate’ has no member named ‘m_proxyFactory’
    make[3]: *** [.obj/debug-shared/shellcommand.o] Error 1
    make[3]: Leaving directory /nfs2/jain/qt-creator-build/src/libs/utils' make[2]: *** [sub-utils-make_first] Error 2 make[2]: Leaving directory/nfs2/jain/qt-creator-build/src/libs'
    make[1]: *** [sub-libs-make_first-ordered] Error 2
    make[1]: Leaving directory `/nfs2/jain/qt-creator-build/src'
    make: *** [sub-src-make_first-ordered] Error 2

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      There's no need for admin rights. You can install Qt in your home directory which should not require admin rights, no need to build anything.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rajeeja
        wrote on last edited by
        #3

        Thanks!!

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by SGaist
          #4

          You're welcome !

          Happy coding !

          Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          R 1 Reply Last reply
          0
          • SGaistS SGaist

            You're welcome !

            Happy coding !

            Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

            R Offline
            R Offline
            rajeeja
            wrote on last edited by
            #5

            @SGaist I was under the impression that for Linux the download was a tarball that I'd have to compile anyways, so was trying to build from source. It was good to see that .run file that is distributed from the mainpage doesn't need admin rights and does all the installation !!

            Keep up the good work with package and the tools !!
            have a nice weekend :)

            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