Error building QtCreator from git repo [Solved]
-
I'm trying to install qtcreator on Ubuntu 14.04 system that I don't have admin rights on. so:
-
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 -
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 -
-
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.
-
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 :)
-
@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 :)