LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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


Reply
  Search this Thread
Old 01-26-2006, 01:42 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Question 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.
 
Old 01-26-2006, 08:34 PM   #2
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
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
 
Old 01-27-2006, 01:06 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 01-27-2006, 07:04 AM   #4
sekelsenmat
Member
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
Quote:
Originally Posted by eantoranz
I'm starting to wonder if it's possible to work with QT4 and anjuta (or any other capable IDE).
The current subversion Lazarus is Qt4 capable.

The next stable release also will be.

The official website: http://www.lazarus.freepascal.org/
A screenshot: http://en.wikipedia.org/wiki/Image:Lazarus_0.9.7.PNG
Some information here: http://en.wikipedia.org/wiki/Lazarus_%28software%29
 
Old 01-27-2006, 03:43 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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.
 
Old 01-29-2006, 07:26 AM   #6
ravee
Member
 
Registered: Jan 2005
Location: India
Distribution: Fedora Core 2
Posts: 83

Rep: Reputation: 15
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
 
Old 01-31-2006, 09:27 AM   #7
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
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.
 
Old 02-28-2006, 09:23 AM   #8
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
I've been using Eclipse/CDT and it has been doing the job with relative ease.
 
Old 11-15-2010, 10:51 PM   #9
agglokesh2
LQ Newbie
 
Registered: Sep 2010
Location: Pune
Distribution: Fedora and redhat
Posts: 4

Rep: Reputation: 0
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
 
Old 11-16-2010, 08:35 AM   #10
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,317

Rep: Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373Reputation: 5373
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.
 
  


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
QT4 installing fakie_flip Programming 3 11-27-2006 06:03 PM
Compiling qt4 apps for non-qt4 linux, win, mac birdseye Programming 4 10-31-2005 04:45 AM
installing qt4 fakie_flip Programming 7 09-14-2005 09:04 PM
qt3 or qt4 crAckZ Programming 1 09-06-2005 05:08 PM
Java IDEs sh1ft Programming 15 03-04-2004 04:52 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:48 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