Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Using CB to develop Qt application
yop:
--- Quote from: lucaciti on December 15, 2005, 10:43:50 am ---What do you mean with "major issues"?
One issue I cannot solve is "code completion" of QT classes.
--- End quote ---
You do realize that it's a work around (don't get me wrong I haven't proposed anything better :)) and so the implementation will always have limitiations (like external libraries, sources in different directories, external inclusions, custom definitions, changing compilers to name a few). But as I've said it's the most complete proposal for using qmake with codeblocks.
The codecompletion is not your fault, qmake resolves the qt headers dir and codeblocks have no way to know where to find the symbols
--- Quote from: lucaciti on December 15, 2005, 10:43:50 am ---off topic:
http://www.imtlucca.it/phd_programs/biorobotics_science_engineering/index.php
--- End quote ---
Impresive
lucaciti:
I definitely agree with you. Anyway if you have some specific needs that are already considered in the syntax of the .pro files you can try to play with the qtoptions.txt file that is appended to the .pro file (e.g. "DEFINES += PIPPO"). I hope more people will start using Trolltech QT4 with Code:Blocks and a critical mass wil be reached soon carrying new ideas and new solutions.
I see you use CB under Linux, is it a good alternative to KDevelop (that do not yet fully support qt4)? By the way I changed the createpro.bat file in order to make it work both under Windows and Linux. It is a bit tricky, maybe not a "clean" solution, and probably not useful (you can have two separate files) but I started with this idea in mind and later it became a challenge.
I attach the new version.
Cheers,
Luca
[attachment deleted by admin]
yop:
--- Quote from: lucaciti on December 23, 2005, 11:43:21 am ---I definitely agree with you. Anyway if you have some specific needs that are already considered in the syntax of the .pro files you can try to play with the qtoptions.txt file that is appended to the .pro file (e.g. "DEFINES += PIPPO"). I hope more people will start using Trolltech QT4 with Code:Blocks and a critical mass wil be reached soon carrying new ideas and new solutions.
--- End quote ---
Wait for a few days (hopefully) I'll release a qt plugin (on the other hand I've said this so many times that I can't remember, but my free time is really limited so I always postpone it :()
--- Quote from: lucaciti on December 23, 2005, 11:43:21 am ---I see you use CB under Linux, is it a good alternative to KDevelop (that do not yet fully support qt4)?
--- End quote ---
It's aperfect replacement but KDevelop is built with qt so there's no comparison, ceratainly KDevelop handles qt projects better
--- Quote from: lucaciti on December 23, 2005, 11:43:21 am ---By the way I changed the createpro.bat file in order to make it work both under Windows and Linux. It is a bit tricky, maybe not a "clean" solution, and probably not useful (you can have two separate files) but I started with this idea in mind and later it became a challenge.
--- End quote ---
Super, I'll check it out, thanks.
Navigation
[0] Message Index
[*] Previous page
Go to full version