如何在 debian os QT kit 中配置编译器

How to configure compiler in debian os QT kit

我在 debian linux 中安装了 QT creator。如果我尝试创建一个新项目,在 Kit 选项中我会收到类似 "No valid Kit found" 的错误。如果我转到工具 -> 选项 -> 构建&运行 -> 工具包,select 没有选项。但我在 ubuntu 中安装了相同的程序,它工作正常,没有同样的问题。我缺少什么?

如果我需要重新安装 QT creator 或其他东西,也建议我...

Its time to explain the tricks to install QT creator in debian linux operating system.

STEP 1: dont install just QT creator in your PC. Install whole package of QT [link to download QT SDK below][1]

[1]: http://www.qt.io/download-open-source/#section-2 ,这样你就会得到所有的库和依赖项。

After downloading the file is in the ".run" format . Install the downloaded file in your terminal (by giving commands).

STEP 2: install sudo apt-get install g++

sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev

in your terminal.

STEP 3: install

sudo apt-get install libcanberra-gtk-module

sudo apt-get install libcanberra-gtk-module:i386

now restart your system once and create new project.It should work

I like to thank agold for his guidance , Actually he spent more than 3 hours to resolve this issue. :)