Install package libqt4-dev using Synaptic to get the Qt 4.5 development library.
$ sudo aptitude install libqt4-dev Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The following NEW packages will be installed: comerr-dev{a} libaudio-dev{a} libgssrpc4{a} libkadm5srv6{a} libkdb5-4{a} libkrb5-dev{a} libmng-dev{a} libpq-dev{a} libqt4-dev libqt4-opengl-dev{a} libsqlite0-dev{a} libssl-dev{a} libxcursor-dev{a} libxfixes-dev{a} libxft-dev{a} libxi-dev{a} libxinerama-dev{a} libxmu-dev{a} libxmu-headers{a} libxrandr-dev{a} qt4-qmake{a} x11proto-fixes-dev{a} x11proto-randr-dev{a} x11proto-xinerama-dev{a} 0 packages upgraded, 24 newly installed, 0 to remove and 0 not upgraded. Need to get 7,797kB of archives. After unpacking 43.1MB will be used. Do you want to continue? [Y/n/?] y Writing extended state information... Done Get:1 http://id.archive.ubuntu.com karmic/main x11proto-fixes-dev 1:4.0-3 [13.9kB] Get:2 http://id.archive.ubuntu.com karmic/main libxfixes-dev 1:4.0.3-2build1 [12.9kB] Get:3 http://id.archive.ubuntu.com karmic/main libxcursor-dev 1:1.1.9-1build1 [32.4kB] Get:4 http://id.archive.ubuntu.com karmic/main libxft-dev 2.1.13-3ubuntu1 [64.1kB] Get:5 http://id.archive.ubuntu.com karmic/main libxi-dev 2:1.2.1-2ubuntu1 [84.2kB] Get:6 http://id.archive.ubuntu.com karmic/main x11proto-xinerama-dev 1.1.2-5ubuntu1 [5,772B] Get:7 http://id.archive.ubuntu.com karmic/main libxinerama-dev 2:1.0.3-2 [11.7kB] Get:8 http://id.archive.ubuntu.com karmic/main libxmu-headers 2:1.0.4-2 [21.5kB] Get:9 http://id.archive.ubuntu.com karmic/main x11proto-randr-dev 1.3.0-1 [37.7kB] Get:10 http://id.archive.ubuntu.com karmic/main libxrandr-dev 2:1.3.0-2 [34.5kB] Get:11 http://id.archive.ubuntu.com karmic/main libgssrpc4 1.7dfsg~beta3-1 [76.4kB] Get:12 http://id.archive.ubuntu.com karmic/main libkdb5-4 1.7dfsg~beta3-1 [58.1kB] Get:13 http://id.archive.ubuntu.com karmic/main libkadm5srv6 1.7dfsg~beta3-1 [73.0kB] Get:14 http://id.archive.ubuntu.com karmic/main libmng-dev 1.0.9-1build1 [295kB] Get:15 http://id.archive.ubuntu.com karmic/main libssl-dev 0.9.8g-16ubuntu3 [2,022kB] Get:16 http://id.archive.ubuntu.com karmic/main comerr-dev 2.1-1.41.9-1ubuntu3 [41.4kB] Get:17 http://id.archive.ubuntu.com karmic/main libkrb5-dev 1.7dfsg~beta3-1 [101kB] Get:18 http://id.archive.ubuntu.com karmic/main libpq-dev 8.4.1-1 [201kB] Get:19 http://id.archive.ubuntu.com karmic/main qt4-qmake 4.5.3really4.5.2-0ubuntu1 [1,322kB] Get:20 http://id.archive.ubuntu.com karmic/main libxmu-dev 2:1.0.4-2 [60.2kB] Get:21 http://id.archive.ubuntu.com karmic/main libaudio-dev 1.9.2-1 [513kB] Get:22 http://id.archive.ubuntu.com karmic/main libsqlite0-dev 2.8.17-6build1 [217kB] Get:23 http://id.archive.ubuntu.com karmic/main libqt4-dev 4.5.3really4.5.2-0ubuntu1 [2,459kB] Get:24 http://id.archive.ubuntu.com karmic/main libqt4-opengl-dev 4.5.3really4.5.2-0ubuntu1 [39.4kB] Fetched 7,797kB in 4min 19s (30.0kB/s) Selecting previously deselected package x11proto-fixes-dev. (Reading database ... 235068 files and directories currently installed.) Unpacking x11proto-fixes-dev (from .../x11proto-fixes-dev_1%3a4.0-3_all.deb) ... Selecting previously deselected package libxfixes-dev. Unpacking libxfixes-dev (from .../libxfixes-dev_1%3a4.0.3-2build1_i386.deb) ... Selecting previously deselected package libxcursor-dev. Unpacking libxcursor-dev (from .../libxcursor-dev_1%3a1.1.9-1build1_i386.deb) ... Selecting previously deselected package libxft-dev. Unpacking libxft-dev (from .../libxft-dev_2.1.13-3ubuntu1_i386.deb) ... Selecting previously deselected package libxi-dev. Unpacking libxi-dev (from .../libxi-dev_2%3a1.2.1-2ubuntu1_i386.deb) ... Selecting previously deselected package x11proto-xinerama-dev. Unpacking x11proto-xinerama-dev (from .../x11proto-xinerama-dev_1.1.2-5ubuntu1_all.deb) ... Selecting previously deselected package libxinerama-dev. Unpacking libxinerama-dev (from .../libxinerama-dev_2%3a1.0.3-2_i386.deb) ... Selecting previously deselected package libxmu-headers. Unpacking libxmu-headers (from .../libxmu-headers_2%3a1.0.4-2_all.deb) ... Selecting previously deselected package x11proto-randr-dev. Unpacking x11proto-randr-dev (from .../x11proto-randr-dev_1.3.0-1_all.deb) ... Selecting previously deselected package libxrandr-dev. Unpacking libxrandr-dev (from .../libxrandr-dev_2%3a1.3.0-2_i386.deb) ... Selecting previously deselected package libgssrpc4. Unpacking libgssrpc4 (from .../libgssrpc4_1.7dfsg~beta3-1_i386.deb) ... Selecting previously deselected package libkdb5-4. Unpacking libkdb5-4 (from .../libkdb5-4_1.7dfsg~beta3-1_i386.deb) ... Selecting previously deselected package libkadm5srv6. Unpacking libkadm5srv6 (from .../libkadm5srv6_1.7dfsg~beta3-1_i386.deb) ... Selecting previously deselected package libmng-dev. Unpacking libmng-dev (from .../libmng-dev_1.0.9-1build1_i386.deb) ... Selecting previously deselected package libssl-dev. Unpacking libssl-dev (from .../libssl-dev_0.9.8g-16ubuntu3_i386.deb) ... Selecting previously deselected package comerr-dev. Unpacking comerr-dev (from .../comerr-dev_2.1-1.41.9-1ubuntu3_i386.deb) ... Selecting previously deselected package libkrb5-dev. Unpacking libkrb5-dev (from .../libkrb5-dev_1.7dfsg~beta3-1_i386.deb) ... Selecting previously deselected package libpq-dev. Unpacking libpq-dev (from .../libpq-dev_8.4.1-1_i386.deb) ... Selecting previously deselected package qt4-qmake. Unpacking qt4-qmake (from .../qt4-qmake_4.5.3really4.5.2-0ubuntu1_i386.deb) ... Selecting previously deselected package libxmu-dev. Unpacking libxmu-dev (from .../libxmu-dev_2%3a1.0.4-2_i386.deb) ... Selecting previously deselected package libaudio-dev. Unpacking libaudio-dev (from .../libaudio-dev_1.9.2-1_i386.deb) ... Selecting previously deselected package libsqlite0-dev. Unpacking libsqlite0-dev (from .../libsqlite0-dev_2.8.17-6build1_i386.deb) ... Selecting previously deselected package libqt4-dev. Unpacking libqt4-dev (from .../libqt4-dev_4.5.3really4.5.2-0ubuntu1_i386.deb) ... Selecting previously deselected package libqt4-opengl-dev. Unpacking libqt4-opengl-dev (from .../libqt4-opengl-dev_4.5.3really4.5.2-0ubuntu1_i386.deb) ... Processing triggers for man-db ... Processing triggers for doc-base ... Processing 1 added doc-base file(s)... Registering documents with scrollkeeper... Processing triggers for install-info ... install-info: warning: no info dir entry in `/usr/share/info/menu.info.gz' Setting up x11proto-fixes-dev (1:4.0-3) ... Setting up libxfixes-dev (1:4.0.3-2build1) ... Setting up libxcursor-dev (1:1.1.9-1build1) ... Setting up libxft-dev (2.1.13-3ubuntu1) ... Setting up libxi-dev (2:1.2.1-2ubuntu1) ... Setting up x11proto-xinerama-dev (1.1.2-5ubuntu1) ... Setting up libxinerama-dev (2:1.0.3-2) ... Setting up libxmu-headers (2:1.0.4-2) ... Setting up x11proto-randr-dev (1.3.0-1) ... Setting up libxrandr-dev (2:1.3.0-2) ... Setting up libgssrpc4 (1.7dfsg~beta3-1) ... Setting up libkdb5-4 (1.7dfsg~beta3-1) ... Setting up libkadm5srv6 (1.7dfsg~beta3-1) ... Setting up libmng-dev (1.0.9-1build1) ... Setting up libssl-dev (0.9.8g-16ubuntu3) ... Setting up comerr-dev (2.1-1.41.9-1ubuntu3) ... Setting up libkrb5-dev (1.7dfsg~beta3-1) ... Setting up libpq-dev (8.4.1-1) ... Setting up qt4-qmake (4.5.3really4.5.2-0ubuntu1) ... update-alternatives: using /usr/bin/qmake-qt4 to provide /usr/bin/qmake (qmake) in auto mode. Setting up libxmu-dev (2:1.0.4-2) ... Setting up libaudio-dev (1.9.2-1) ... Setting up libsqlite0-dev (2.8.17-6build1) ... Setting up libqt4-dev (4.5.3really4.5.2-0ubuntu1) ... update-alternatives: using /usr/bin/moc-qt4 to provide /usr/bin/moc (moc) in auto mode. update-alternatives: using /usr/bin/uic-qt4 to provide /usr/bin/uic (uic) in auto mode. update-alternatives: using /usr/bin/lupdate-qt4 to provide /usr/bin/lupdate (lupdate) in auto mode. update-alternatives: using /usr/bin/lrelease-qt4 to provide /usr/bin/lrelease (lrelease) in auto mode. Setting up libqt4-opengl-dev (4.5.3really4.5.2-0ubuntu1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... DoneLaunch Qt Creator. Now you can create a new project and launch it.
Qt Creator should detect your Qt4 installation properly.
From Kev's Qt Mobility Development |
You certainly want to enable the Debugging Helper.
- Go to Tools -> Options -> Qt4 versions.
- Under Debugging Helper, click Debugging Helper -> Rebuild.
- The Debugging Helper icon will turn from red to green check mark.
No comments:
Post a Comment
Be the first to comment!