We will introduce some tutorials on the MeeGo development environment after the introduction of tutorials such as the UI design basics for the development of MeeGo mobile terminal devices. Some may ask, "Why do you need to do this more? Careful friends may find that I don't need to compile QT4.7 but use the QT4.7 SDK to build the environment here. It usually takes about one afternoon to compile QT4.7, but it takes up to 20 minutes to compile it with the SDK. This is also the hope of a faster way for everyone to play MeeGo.
Download QT-sdk-linux-x86-opensource-2010.05-rc1.bin
1. Install the QT-sdk-linux-x86-opensource-2010.05-rc1.bin command:
- chmod 777 QT-sdk-linux-x86-opensource-2010.05-rc1.bin
- ./QT-sdk-linux-x86-opensource-2010.05-rc1.bin
2. Download the compiled library file attachment) and put it in the library of QT 2010.05.
Install g ++
- sudo apt-get install g++
3. Install the dependent library file:
(1) install the dependent Library
- sudo apt-get install libfontconfig1-dev libfreetype6-dev libx11-dev libxcursor-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxrandr-dev libxrender-dev
-
-
-
(2) install the inventory Library
- sudo apt-get install libgconf2-dev libdbus-QT-1-dev
-
(3) Modify libmeegotouch/configure and change have_enabled = no to yes.
4. Install meegotouch-theme, which is mainly a theme css file)
(1) download the meegotouch-theme code
- git clone git://gitorious.org/meegotouch/meegotouch-theme.git
-
Then run chmod 777-R libmeegotouch to add the highest permission to all the downloaded source code.
(2) Go To The meegotouch-theme directory.
- cd meegotouch-theme/
-
(3) execute qmake to generate makefile:
- qmake
-
(4) Installation
- sudo make install
-
Note:
When using make, it may be said that the make version is not 4.7. Connection problem between qmake and qt4
You can run the following command to test
- $qmake -v
-
The following situations occur:
- $Qmake version: 1.07a (QT 3.3.8b)
- $Qmake is free software from Trolltech ASA.
-
How can I change the qmake version to qt3 and go to the/usr/bin directory?
- root@ubuntu:/home/yyy# cd /usr/bin
- root@ubuntu:/usr/bin# ls -l qmake
- lrwxrwxrwx 1 root root 23 2009-10-09 09:35 qmake -> /etc/alternatives/qmake
-
View qmake information. A link points to/etc/alternatives/qmake.
- root@ubuntu:/usr/bin# ls -l /etc/alternatives/qmake
- lrwxrwxrwx 1 root root 18 2009-12-08 12:46 /etc/alternatives/qmake -> /usr/bin/qmake-qt3
-
Finally found the root cause, the original qmake was set to qmake-qt3