Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » How to import existing MinGW/C++ projects into TheIDE
Re: How to import existing MinGW/C++ projects into TheIDE [message #2905 is a reply to message #2903] |
Sat, 29 April 2006 16:07   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
Quote: |
For us, the main problem seems to be the very rudimentary state of the U++ documentation and the fact that Qt and Qt applications make heavy use of macros in C++, which might disturb the U++ code analyzer.
|
Well, that is the problem. At current stage of development, analyzer ingnores #include files (because otherwise it would be too slow), therefore knows nothing about macros.
However, there is a workaround - "Ignore list". Try to add macro names to it (it is item in Assist menu) and parser will simply ignore them. Of course, solves just basic issue (just enough to make it work for U++ library...)
Quote: |
unrelated to the class/method in question. Will this problem disappear when using the U++ build system?
|
Actually, it is not about using build system. It is just that only files that are "in project" are scaned using the parser.
Quote: |
In order to make use of the U++ build system: Would I have to make U++ packages from our existing sub-projects?
|
Yes. However, while enforcing directory structure just like in U++ is desirable (because it makes your project portable), you could also use "open any file" and keep files in original folders - however that will put full pathes to the .upp file.
Thinking about it, if your project is not very big (e.g. less than 20 files), you could consider puttin it all into single package, arrange so that .upp file is its "root" (because all package files are relative to .upp file location).
Quote: |
Will this work without also using U++ built-in packages and libraries?
|
Yes.
Quote: |
Is it possible to use the same U++ configuration (*.upp) files on Windows as well as Linux?
|
Of course, that is the point!!!!
Quote: |
When using the U++ build system: Does U++ provide an easy way to jump from the compiler's error output to the respective erroneous source line by a single (or double) click?
|
Yes. Double-click or F4.
Mirek
P.S.: there was another related Qt question a couple of days ago here. Perhaps you should cooperate; I am no Qt expert and just barely suspect that in order to compile, you will have to add custom build steps for "moc"...
P.P.S.: I am really not sure whether this will work... Admitedly, TheIDE is designed with U++ library in mind (just like MS Visual Studio is designed with MFC/.NET in mind).
|
|
|
Goto Forum:
Current Time: Sun Apr 27 17:14:29 CEST 2025
Total time taken to generate the page: 0.00763 seconds
|