Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Kdevelop in ubuntu

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to install Kdevelop in ubuntu, in view of this problem, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.

1. Install Kdevelop under ubuntu

There are two ways to install:

1. Terminal: you can easily get KDevelop using apt-get, as follows: (take KDE as an example) 1). Apt-get build-dep gcc 2). Apt-get install kdevelop3 3). If you cannot get information about these packages, you can try to modify / etc/apt/sources.lst

two。 Open Synaptic package Manager 1). Look for KDevelop, of course, check KDevelop in the results, and the package with the suffix "- dev" in the KDevelop series, of course, you can not check 2). After installing the front package, install the following package:

Automake

Autoconf

Glossy +

Libtool

Cmake

II. Install qt4 for ubuntu

Although this machine is equipped with Gnome Ubuntu, but you can also develop Qt programs, if you use the general download and compile Qt4, it will take a long time. So use apt-get method to install Qt4.

Run:

$sudo apt-get install libqt4-dev libqt4-debug libqt4-gui libqt4-sql qt4-dev-tools qt4-doc qt4-designer qt4-qtconfig

Write a sample program:

# include

# include

Int main (int argc, char * argv [])

{

QApplication app (argc, argv)

QPushButton hello ("Hello, man!") hello.resize (100,30)

Hello.show (); return app.exec ()

}

Then run it in turn:

$qmake-project

$qmake

$make

$. / Project name

As follows:

Isp@hitisp:~/qtsrc$ vim QtHello.cpp

Isp@hitisp:~/qtsrc$ qmake-project

Isp@hitisp:~/qtsrc$ qmake

Isp@hitisp:~/qtsrc$ make

The result is a small window with only one button titled project name. , install qt4 under ubnbu

This is the answer to the question about how to install Kdevelop in ubuntu. I hope the above content can be of some help to you. If you still have a lot of doubts to solve, you can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report