This repository was archived by the owner on Jun 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Not buildable if having qt4 and qt5 #235
Copy link
Copy link
Open
Description
I had installed qt-sdk first since I wanted to be able to try the toolchain out, which is for 5.0.1, but even after installing qt4, I get this error below. I would think that if you have a requirement towards a specific version of a tool you shouldn't have to uninstall or tweak something just to satisfy installation of the dcputoolchain. (Following are the make error and installed qt packages respectively.)
(FYI, Trying to use qmake -set didn't work due to a bug leading to multiple internal variables of the same name.)
$ cmake . && make -C libdcpu && make
-- Showing configuration
>> version is: 'beta; #ff4bd3c84'
>> m4 is at: /usr/bin/m4
>> flex is at: /usr/bin/flex
>> flex unistd is at:
>> bison is at: /usr/bin/bison
(must be Cygwin versions on Windows)
>> cmake version is >= 2.8.6 -> using cotire
-- Found unsuitable Qt version "5.0.1" from /usr/bin/qmake
-- Found GNU Readline: 6.2
-- Building GLFW for X11 and GLX on a Unix-like system
CMake Error at CMakeLists.txt:231 (add_subdirectory):
The source directory
/home/afro/Downloads/dcputoolchain-linux/DCPUToolchain/libdcpu-cc
does not contain a CMakeLists.txt file.
cc include dir
-- Found unsuitable Qt version "5.0.1" from /usr/bin/qmake
Not building IDE due to lack of Qt 4 libraries.
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring incomplete, errors occurred!
$ dpkg -l qt*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================-====================-====================-====================================================================
un qt-assistant-compat <none> (no description available)
ii qt-at-spi:amd64 0.3.1-0ubuntu1 amd64 accessibility plugin for Qt
un qt-default <none> (no description available)
ii qt-sdk 2ubuntu3 all Complete Qt Software Development Kit
un qt-x11-free-dbg <none> (no description available)
un qt3-dev-tools-embedded <none> (no description available)
ii qt4-bin-dbg 4:4.8.4+dfsg-0ubuntu amd64 Qt 4 binaries debugging symbols
un qt4-default <none> (no description available)
ii qt4-designer 4:4.8.4+dfsg-0ubuntu amd64 graphical designer for Qt 4 applications
ii qt4-dev-tools 4:4.8.4+dfsg-0ubuntu amd64 Qt 4 development tools
ii qt4-doc 4:4.8.4+dfsg-0ubuntu all Qt 4 API documentation
ii qt4-doc-html 4:4.8.4+dfsg-0ubuntu all Qt 4 API documentation (HTML format)
ii qt4-linguist-tools 4:4.8.4+dfsg-0ubuntu amd64 Qt 4 Linguist tools
ii qt4-qmake 4:4.8.4+dfsg-0ubuntu amd64 Qt 4 qmake Makefile generator tool
un qt4-qmlviewer <none> (no description available)
un qt4-qtconfig <none> (no description available)
un qt4-x11 <none> (no description available)
ii qt5-default 5.0.1+dfsg-0ubuntu4 all Qt 5 development defaults package
ii qt5-qmake 5.0.1+dfsg-0ubuntu4 amd64 Qt 5 qmake Makefile generator tool
ii qtbase5-dev 5.0.1+dfsg-0ubuntu4 amd64 Qt 5 base development files
ii qtbase5-dev-tools 5.0.1+dfsg-0ubuntu4 amd64 Qt 5 base development programs
ii qtchooser 0.0.1~git20121229.g8 amd64 Wrapper to select between Qt development binary versions
ii qtcreator 2.7.0-0ubuntu3 amd64 lightweight integrated development environment (IDE) for Qt
ii qtcreator-doc 2.7.0-0ubuntu3 all documentation for Qt Creator IDE
ii qtdeclarative5-dev 5.0.1-0ubuntu3 amd64 Qt 5 declarative development files
un qtnx <none> (no description available)
un qtquick1-5-dev <none> (no description available)
un qtquick1-5-dev-tools <none> (no description available)
Metadata
Metadata
Assignees
Labels
No labels