Install Qt in Ubuntu and other development environments

Source: Internet
Author: User

View applicationsProgramRun the dependent lib File

Command Line # enter the path of the LDD Program

You can view

 

1. Install QT

First, install QT either in Linux (UBUNTU) or in windows.
Under Ubuntu: Enter
Sudo apt-Get install qt4-dev-tools
Sudo apt-Get install qtcreator

Sudo apt-Get install g ++

Detect USB devices

About qtdbus
If try-retry then: The qtdbus module cannot be enabled because libdbus-1 version 0.93 was not found
Sudo apt-Get install libdbus-1-dev

Sudo apt-Get install libdbus-glib-1-dev
Sudo apt-Get install libedbus-Dev

Sudo apt-Get install libhal-Dev

Sudo apt-Get install libusb-dev install libusb

 

All done.

 

2. Install phonon

Enter sudo apt-Get install libphonon-Dev in the command line to install phonon. You can use the # include <phonon> file (however
In. Pro, QT + = phonon must be included.

 

 

3. play audio

Sudo apt-Get install libxine1-ffmpeg

Detect USB flash drive insertion

Sudo apt-Get install libdbus-glib-1-dev

 

4. Solutions for transparent Beijing cannot be displayed. Use Ubuntu 10.10 to enable 3D Effects

Http://hi.baidu.com/feisit/blog/item/25e1f7776d86b90bb151b975.html

Click system-system management-append driver under ubuntu10.10, and there will be your Nic. You can click activate to use it.

All special effects depend on CompizTo download and install compiz and compiz fusion.

Sudo apt-Get install compiz-gnome
Sudo apt-Get install compizconfig-settings-Manager
Sudo apt-Get install compiz-fusion -*

Open "system --- preferences --- compizconfig settings manager"

There are a lot of special effects in it. You only need to check and use the corresponding shortcut keys to enable the special effects. Take a closer look.

Many people may be concerned about the flame effect, such as opening a menu or closing a window. This is easy to implement.Does not occupy too much memory, and the computer configuration is not very bad now. Do you still care about that memory.

Check the animation appending components and the animation icon

 

 

5. InstallQtwebkit is used to browse Web pages

Sudo add-Apt-repository PPA: Midori/PPA

Sudo add-Apt-repository PPA: WebKit-team/PPA

Sudo apt-Get update

Sudo apt-Get install Midori

 

 

6. Install QCA

 

Download (HTTP): http://delta.affinix.com/download/qca/2.0/qca-2.0.3.tar.bz2

Decompress the package and enter the directory.

./Configure -- prefix = $ (PKG-config -- variable = prefix qtcore )&&
Make

Make install

# Include<Qt4/qca-2.0.3/include/qtcrypto/QCA. h>

 

7. installation is required for playing a p movie

Gstreamer0.10-FFMPEG

Gstreamer0.10-plugins-bad

Gstream0.10-plugins-uugly playing RM



The old Linux video player mplayer development team has provided a daily PPA [announcement] for Ubuntu users. The mplayer version in this PPA will be updated all the time,CodeDirectly from the svn trunk repository, which is built twice a week. This action provides great convenience for users who like to try the new version.
# Ubuntu Installation

Sudo add-Apt-repository PPA: motumedia/mplayer-daily
Sudo apt-Get update
Sudo apt-Get install mplayer


 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.