Set up an integrated development environment for C + + and Python under Ubuntu, using a dual system (Win7+ubuntu) Ubuntu16.04-lts system,
about the two-system construction can refer to the following blog (text very detailed): https://www.cnblogs.com/Duane/p/5424218.html
First install Sogou Input method in Ubuntu (used to Sogou), see this blog: 78350192
Next, start building an integrated development environment:
First check if the system comes with a complete tool
[Email protected]:~$ gcc--version #查看gcc版本gcc (Ubuntu5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609Copyright (C)2015Free software Foundation, Inc.this isFree software; See the source forCopying conditions. There isNowarranty; notEven formerchantabilityorFITNESS for A particular PURPOSE. [Email protected]-lenovo-ideapad-y470:~$ g++--version #查看g + + versions g+ + (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609Copyright (C)2015Free software Foundation, Inc.this isFree software; See the source forCopying conditions. There isNowarranty; notEven formerchantabilityorFITNESS for A particular PURPOSE. [Email protected]-lenovo-ideapad-y470:~$ Python--version #查看python2版本Python2.7.12[email protected]-lenovo-ideapad-y470:~$ Python3--version #查看python3版本Python3.5.2
1. Install QT5.10.0:
(1) Download QT-5.10.0: https://download.qt.io/official_releases/qt/
(2) After the download is complete, create a new folder on the desktop MyProject, and put the downloaded file Qt-opensource-linux-x64-5.10.0.run into the file:
Enter this directory under Terminal:
Then you need to register your QT account password to log in:
At this point, QT has been installed, but in many cases it has not been able to run, need to install some dependencies:
#CMake的时候需要qt4, need to install Qt-sdk$sudo apt-get install qt-sdk# install CMake and some dependent $sudo apt-get Install Cmake$sudo apt-get install build-essential Libavcodec-dev libavformat-dev Libjpeg.dev Libtiff4.dev Libswscale-dev Libjasper-dev
Now that the QT5.10.0 is fully installed, then re-open Qt and write a simple C program test:
At this point, the QT5.10.0 integrated development environment has been successfully built, can be developed in C + +, and subsequent articles are detailed codeblocks, Eclipse and pycharm environment installation.
Article is not easy to write, reproduced please mark ... Welcome attention!
Ubuntu16.04 build various development environment IDE:QT5, Codeblocks, ECLIPSE-CDT, Pycharm