Installing with Linux
-
[quote author="sierdzio" date="1398171267"]I think you might be missing some dependencies, like 7z and XKB.[/quote]
Could you explain a little more about '7z' and XKB'? What are they, where can I find them and what would I do with them?
-
See the dependencies "here":http://qt-project.org/wiki/Building_Qt_5_from_Git. Not all are needed when installing the prebuilt package.
7z is a type of zip compression. XKB is X keyboard extension. Both are pretty standard stuff for Linux distros, but maybe - just maybe - you don't have them installed.
-
Apologise for the bad link - "this ":http://qt-project.org/doc/qtcreator-3.1/creator-configuring.html is a correct one.
bq. The only success I’ve had with Qt Creator was installing it under Windows 7. No luck under Linux. Perhaps I should ask if anyone has installed it under Linux and advise me what version of Linux you have and any tips/tricks as to how you did it.
I have installed Qt5 on several Ubuntu versions (Kubuntu, with KDE) and had no problems with any. Usually most Build options are automatically preset but I suggest you should look at the configuration following the link provided. If you still suffer with that problem please come back to the forum.
-
I installed XUbuntu 14.04 on my laptop and was able to use the online installer for Qt5. The welcome screen was blank but I was able to create a new project. However, on the build/run screen there were no default selections for kits, Qt versions or compilers. Either nothing was auto-detected or what was displayed showed the red stop sign icon. When I reviewed these selections on my desktop under Windows they all had defaults which worked fine. Now I need to figure out how to do this under Linux. What should I do next?
-
I always use Kubuntu and all Qt setups worked perfectly.
What I suggest is: With your Xubuntu install try to setup the kits with compiler and linker manually following the link above or test the installation of Kubuntu 14.04. -
Thanks for the suggestions.
I reviewed the link on configuring Qt Creator. The first sentence was:
“If you install Qt Creator as part of a Qt installation, you should be able to use it out-of-the-box, with the default settings and configuration options.”
This was my experience with Qt Creator under Windows 7. I hoped it would be the same under Linux but I encountered multiple difficulties. The following was what I found under Build & Run.
Kits: There was one auto-detected: Desktop Qt 5.2.1 GCC 32 bit(default). This was preceded by the red stop icon. What does this mean?
Compiler: None were auto-detected but the 'Add' menu listed Linux ICC, MinGW, GCC, Clang, Custom, and QCC. The only one I could find was 'GCC' so I added it with the appropriate path.
Qt Versions: Four were auto-detected but all preceded by the red stop icon. All of these produced the message: “No compiler can produce code for this Qt version. Please define one or more compilers.”
I'm not sure what to do about this. What settings did you use?
-
Hi, these are my settings (autodetected):
Debugger:
GDB in /usr/bin/gdb
Compiler:
GCC (x86 64bit in /usr/bin)
GCC (x86 32bit in /usr/bin)
Qt Version:
Qt 5.2.1 GCC 64bit /home/.../Qt52/5.2.1/gcc_64/bin/qmake
Kits:
Desktop Qt 5.2.1 GCC 64bitHope it's useful for you
-
The settings I used were similar to yours but were 32bit. I tried installing Kubuntu but I received the message: "Not enough disk space to store all selected components. Available space 911MB, at least 2.14GB required." I have adequate disk space so not sure why this happened. I am running Linux out of a live USB drive, (16GB). Could this be causing these problems? Should I do a full install instead?
-
I never tried to run it from an USB drive but AFAIK it should work.
Googled a bit and hopefully "this ":http://rudd-o.com/linux-and-free-software/a-better-way-to-create-a-customized-ubuntu-live-usb-drive may help you. -
I did a full install of Ubuntu on a spare HDD with nothing else on it. It ran fine so I installed Qt Creator on it but it did not do any better than with Ubuntu running from a USB drive. I have now tried to install Qt Creator on six different Linux distros and three different computers; Qt Creator just doesn't want to run on Linux! I can't think of anything else to try and may have to give up on Qt Creator.
-
Hi,
I don't know about other distros, but Ubuntu does not come with a C++ compiler or OpenGL development libraries by default.
I have Ubuntu 14.04, and these are the steps I take to get a fully-functional Qt development environment:
Install g++ from the Ubuntu repository
Install Mesa development libraries from the Ubuntu repository
Install Qt from the Qt Project website (e.g. http://download.qt-project.org/official_releases/qt/5.2/5.2.1/qt-opensource-linux-x86-5.2.1.run )
See https://qt-project.org/forums/viewthread/33411 for more details