LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-01-2009, 10:29 AM   #1
manz00r
Member
 
Registered: Jan 2008
Posts: 33

Rep: Reputation: 15
How to install Qt 4?


I typed qt4 in Synaptic Package Manager and there were packages like libqt4 etc etc... I marked it for installation and a number of other software were selected too. Then downloaded and installed it... Everything was completed except one file, but then my internet got disconnected so I quit. But I now I cannot develop on Qt and when I create a Qt project in Eclipse (I integrted eclipse into Qt using the plugin available on Qt's site) and I get the following errors

Code:
Could not execute qmake (no Qt version set). Open Preferences->Qt and set a Qt version to use.
The package which was left was of 58 MB, I think. I can't get know wht package it was so I may install it. any help plz


Oh and Its Ubuntu 8.10
 
Old 03-01-2009, 11:48 AM   #2
metrofox
Member
 
Registered: Jan 2009
Location: Palermo, Italy
Distribution: Slackware
Posts: 236

Rep: Reputation: 37
Do that it says...

Quote:
Open Preferences->Qt and set a Qt version to use.
You've to do that and eclipse might work better than first.

Ehm...You made two threads

Let us know. Bye.

Last edited by metrofox; 03-01-2009 at 11:50 AM.
 
Old 03-01-2009, 12:42 PM   #3
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
Apt will always download all the files it needs before it starts installing, so I guess that there may be something else at work here.

I would try and complete the installation of qt4.

If libqt4 hasn't been installed then you should be able to run:
Code:
sudo apt-get install libqt4-dev
If the update itself was aborted, then you can run this:
Code:
sudo apt-get -f
to fix any broken dependencies.

You may need to run either or both of these, and neither one should risk your system.

Hope that helps,

—Robert J Lee
 
Old 03-02-2009, 01:37 PM   #4
manz00r
Member
 
Registered: Jan 2008
Posts: 33

Original Poster
Rep: Reputation: 15
@metrofox: There is no Qt in System > Preferences

@rjlee: Typed the above commands and they were already installed.

Code:
libqt4-dev is already the newest version.
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.27-7 linux-headers-2.6.27-7-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Sorry for the double post, I double clicked the 'submit' button
 
Old 03-03-2009, 07:28 AM   #5
metrofox
Member
 
Registered: Jan 2009
Location: Palermo, Italy
Distribution: Slackware
Posts: 236

Rep: Reputation: 37
Take a look here:

http://wiki.qtcentre.org/index.php?t...t4_in_10_steps

It might help you, but you've to know that all commands and all paths could be wrong, it depends by the distribution you use. Let us know again. Have a good day. Bye.
 
Old 03-03-2009, 07:29 AM   #6
metrofox
Member
 
Registered: Jan 2009
Location: Palermo, Italy
Distribution: Slackware
Posts: 236

Rep: Reputation: 37
Take a look here:

http://wiki.qtcentre.org/index.php?t...t4_in_10_steps

It might help you, but you've to know that all commands and all paths could be wrong, it depends by the distribution you use. Let us know again. Have a good day. Bye.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu as frugal install, iso install, img install? impossible? nooby Ubuntu 15 08-22-2008 05:49 AM
Can't install Ubuntu 8.04 on Compaq Evo D510, but can install 8.04 LTS Server. Lobaht Ubuntu 2 07-30-2008 10:19 PM
Red Hat Linux 9 install: error "No devices found to install ... gunneszz Red Hat 1 03-10-2008 04:52 AM
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 05:16 PM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration