July 30, 2011

mike4 mike4
Lab Rat
70 posts

[Moved] import f.ex. flightgear project into qtcreator

 

how?
Thanks

10 replies

July 30, 2011

loladiro loladiro
Lab Rat
596 posts

By formulating your question so that we can understand it!

http://www.catb.org/~esr/faqs/smart-questions.html

July 31, 2011

mike4 mike4
Lab Rat
70 posts

alike Eclipse. there you can import makefile, vs projects etc.

July 31, 2011

Denis Kormalev Denis Kormalev
Lab Rat
1654 posts

mike4, can you elaborate? What do you mean by import?
Opening it? Then you just need to go to File->Open Project or File.
Adding it as subproject to your project? Just copy it near your sources and modify your .pro-file (or add new one with SUBDIRS).

July 31, 2011

mike4 mike4
Lab Rat
70 posts

this is a makefile project with hundreds of files. in eclipse i do a new empty project and simply click to import all files, all done and ready to compile.-
Thanks

July 31, 2011

Denis Kormalev Denis Kormalev
Lab Rat
1654 posts

If you simply need to add all files to your project then you can use Add Existing Files option in created project.
If you need to import makefile too then afaik New Project->Other Project->Import Existing Project will help you.

July 31, 2011

mike4 mike4
Lab Rat
70 posts

Thanks haven’t seen this…only few days with qtcreator. Now at the end of compiling it asks for an executable file. What does that mean?
thanks again

July 31, 2011

Denis Kormalev Denis Kormalev
Lab Rat
1654 posts

Probably in makefile-based projects (never used them in QtCreator) you need to set executable to run in project settings.

August 3, 2011

mike4 mike4
Lab Rat
70 posts

imported now it says no target etc. set. how could i use the existing makefile?

August 3, 2011

Denis Kormalev Denis Kormalev
Lab Rat
1654 posts

mike4, not sure, never used it.

P.S. moved to tools, btw

August 3, 2011

Tobias Hunger Tobias Hunger
Mad Scientist
3150 posts

Have you checked the documentation [doc.qt.nokia.com]?

Is there something in it that is not clear? How can we improve it?

 
  ‹‹ Build PokerTH code with Qt Creator on Windows!      [moved] click on class should show class declaration/definition ››

You must log in to post a reply. Not a member yet? Register here!