Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-26-2006, 01:42 PM
|
#1
|
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Rep:
|
IDEs with QT4
I'm trying to work with QT4.. just learning. I can't use kdevelop cause it's in "QT3 stage" ;-), so I have being fiddling a little with a plain text editor.
I'm starting to wonder if it's possible to work with QT4 and anjuta (or any other capable IDE).
I think it's not gonna be so easy because of the use of the ui files that have to be precompiled and so on... but I'd like to hear your comments.
|
|
|
01-26-2006, 08:34 PM
|
#2
|
Senior Member
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379
Rep:
|
So long as you can use the qmake you should be okay. Because it is the qmake that does the compiling of the .ui files.
Having said that I've not tried it!
all the best,
graeme
|
|
|
01-27-2006, 01:06 AM
|
#3
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Try asking your question in the KDE developer forums or mailing lists. I am sure they will give you a solution since a lot of them are porting their apps to QT 4.x.
|
|
|
01-27-2006, 03:43 PM
|
#5
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
Quote:
Originally Posted by eantoranz
I'm trying to work with QT4.. just learning. I can't use kdevelop cause it's in "QT3 stage" ;-), so I have being fiddling a little with a plain text editor.
I'm starting to wonder if it's possible to work with QT4 and anjuta (or any other capable IDE).
I think it's not gonna be so easy because of the use of the ui files that have to be precompiled and so on... but I'd like to hear your comments.
|
I've just finished a >200KB source code project in Qt4, using Kdevelop 3. It doesn't support it 'from the box', but doesn't require much attention. What you need to do is:
* add path to Qt4 to PATH passed to g++
* use external Designer instead of the built-in one
* write your own subclassing .h and .cpp file (the ones for Qt3 don't work)
So, I had to do small things at the beginning, then only Designer usage is different. All build correctly.
|
|
|
01-29-2006, 07:26 AM
|
#6
|
Member
Registered: Jan 2005
Location: India
Distribution: Fedora Core 2
Posts: 83
Rep:
|
Here is a link to a page which details how you can compile a Qt project from the command line.
http://linuxhelp.blogspot.com/2006/0...ojects-on.html
Hope this helps
|
|
|
01-31-2006, 09:27 AM
|
#7
|
Member
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248
Rep:
|
KDevelop 3.3.x does support qt4. It says here: http://www.kdevelop.org/index.html?f.../features.html
Personally, I use Qt 4 Designer to generate forms and I write the code in KDevelop. I had to add a few lines to the .pro file the first time but everything else is done by KDevelop.
|
|
|
02-28-2006, 09:23 AM
|
#8
|
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Original Poster
Rep:
|
I've been using Eclipse/CDT and it has been doing the job with relative ease.
|
|
|
11-15-2010, 10:51 PM
|
#9
|
LQ Newbie
Registered: Sep 2010
Location: Pune
Distribution: Fedora and redhat
Posts: 4
Rep:
|
Project menu in menu bar
Hi frnds,
I am completely new to QT.
I am learning form internet.
so can u tell me good resource for QT learning.
my question is that in QT4 menu bar in creator and Designer.
I am not getting Project in menu bar.
how can i get.
while in Qt3 it's present
|
|
|
11-16-2010, 08:35 AM
|
#10
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,317
|
Spell properly please.
Resources for learning Qt? Apart from Mark Summerfield's books and doc.qt.nokia.com, there's also a very good Qt4 tutorial on Zetcode:
http://zetcode.com/tutorials/pyqt4/
As for the Project menu, well, obviously the UI's been redesigned. You can't get it again. The options to start and open projects is in the File menu, and you can get further options by right-clicking on the Projects tree.
See this picture:
http://qt.nokia.com/images/products/...rbreakdown.png
Last edited by dugan; 11-16-2010 at 08:39 AM.
|
|
|
All times are GMT -5. The time now is 09:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|