How To Install Qt Creator On Fedora 29



  1. How To Install Qt Creator On Fedora 29 Hp
  2. How To Install Qt Creator On Fedora 290

EnArBgDeElEsFaFiFrHiHuItJaKnKoMsNlPlPtRuSqThTrUkZh

  • 1Install Qt 5 on Ubuntu

Introduction

As a work-around I try installing with rpm -Va -nofiles -nodigest as recommended by yum. This runs with nothing returned to the terminal; no errors, warning, info, nothing. But after it runs there is no 'creator' or 'qt-creator' executable found and nothing new appears in the system menu. How to install qt-creator on centos 7.6?

  1. For the global install, the default location is /opt/Qt. Determine whether you want to install per user or global and then run the installer. For a per user install, just run it as the current user, e.g. $./qt-unified-linux-x64-2.0.3-1-online.run For the global install you can run it as root using the sudo command, e.g.
  2. How to Install Qt Creator on Fedora 29 Easy Guide; How-to Install IntelliJ IDEA on Fedora 30 Easy Vis. How-to Install IntelliJ IDEA on Fedora 29 Easy Vis.

This is a tutorial for installation of Qt 5.7.0 to Ubuntu 12.10. It may be used for some newer versions of Qt and Ubuntu. As a counterexample, Ubuntu 16.04 LTS uses an independent system for controlling the Qt version. Following these directions for Ubuntu 16.04 results in an error where a file can't be found in a qt4 directory, even though you're installing qt5 not 4. Another difference for OpenGL has been found and added as a note below.

Installation Guide (Ubuntu package)

Open a terminal. Type the following command and hit Enter:sudo apt-get install qt5-default

Qt 5.x will be installed.

Installation Guide (Qt download page)

  • Download

Visit Qt downloads page an download a 32-bit or 64-bit Linux installation depending your version of Ubuntu. The installation file can be also downloaded through the command line using wget.

Example:wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run

This is valid until 5.14.2 due to policy change, distributing Open Source Qt linux package is discontinue from 5.15.0. You need to build your own package starting from 5.15.0.

  • Install

Adjust permission, run the installer and follow the instruction to complete the installation.

chmod +x qt-opensource-linux-x64-5.7.0.run./qt-opensource-linux-x64-5.7.0.run

  • Install g++

Open a terminal and execute the following command to install g++:sudo apt-get install build-essential

  • Install generic font configuration library - runtime

Open a terminal and execute the following command to install the full runtime files for the generic font configuration library:sudo apt-get install libfontconfig1

How To Install Qt Creator On Fedora 29
  • Configure a compiler

Launch Qt Creator. Go to Tools > Options. Click Build & Run and select tab Kit. Configure a compiler if it is not automatically detected.

  • Install OpenGL libraries

Execute the following command to install OpenGL libraries:sudo apt-get install mesa-common-dev

Note: Just installing the above-mentioned mesa-common-dev kit is not sufficient for more recent Ubuntu versions. Based on a comment in the Qt forum[1] an additional package needs installation. Execute following command:sudo apt-get install libglu1-mesa-dev -yTested with Qt5.3.1 and Ubuntu 14.04 and it solved the problem with missing -lGL.

  • Set file association with pro files

How To Install Qt Creator On Fedora 29 Hp

When installing from the on-line source the file association is not done automatically.It also not show up when you try to associate it with file explorer.Create a file named “Qt-Creator.desktop” and fill the file with the following.

[Desktop Entry]Version=1.0Encoding=UTF-8Type=ApplicationName=QtCreatorComment=QtCreatorNoDsiplay=trueExec=(Install folder of QT)/Tools/QtCreator/bin/qtcreator %fIcon=(Install folder of QT)/5.4/Src/qtdoc/doc/images/landing/icon_QtCreator_78x78px.pngName[en_US]=Qt-Creator

Place this file in home .local/share/applications .

How To Install Qt Creator On Fedora 29

How To Install Qt Creator On Fedora 290

Edit a file named “defaults.list” in the same directory .Add the following line.

text/qtcreator=Qt-Creator.desktop;

open file mimeapps.list and check if the following line is present.

application/vnd.nokia.qt.qmakeprofile=qtcreator.desktop

if not add it under [added Associations].

Run the following command.

sudo update-mime-database /usr/share/mime

now Qt has been added to the list of file associations.

Troubleshooting

  • Qt Creator needs a compiler set up to build

Follow the instruction from the previous section to configure compiler for Qt Creator.

  • error: g++: Command not found

Solution:sudo apt-get install build-essential

How to install qt creator on fedora 29
  • error: GL/gl.h: No such file or directory

Solution:sudo apt-get install mesa-common-dev

References

  1. Qt 5.5.0 problem running examples [SOLVED]. 2015-09-22. Archived from the original on 2016-08-01. Retrieved 2016-08-01.

    Execute the following command to install OpenGL libraries: sudo apt-get install mesa-common-dev Note: Just installing the above-mentioned mesa-common-dev kit is not sufficient for more recent Ubuntu versions. Based on this comment in the forum an additional package needs installation. Execute following command: sudo apt-get install libglu1-mesa-dev -y Tested with Qt5.3.1 and Ubuntu 14.04 and it solved the problem with missing -lGL.

Retrieved from 'https://wiki.qt.io/index.php?title=Install_Qt_5_on_Ubuntu&oldid=37236'

sunil880089

Full Member level 2
Joined
Aug 24, 2011
Messages
126
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
2,031
How to create and Compile QT Application for Mini 2440 in Fedora 17.
Hi, I am newbie at Mini 2440 an Qt programming . I have a mini 2440
installed Qtopia in it . I also have a computer Fedora 17 installed. I use Qt
creator to create QT application.
How to create and compile a QT program in Fedora 17 pc for mini 2440 then load program to
mini 2440 and run it.
Can Anyone Please help me…
Thank you..




Comments are closed.