- Create a new qt project: File->New->Project->Qt Console Project
- Go through the menus of the Wizard. Don't worry about it too much as we are going to delete it anyhow.
- Click Ok.
- The directory appears in the Workspace.
- Open it and delete the sources in there (.c, .h, .cpp...).
- Copy over the ones from your old project.
- Fix the .pro so that it includes what needs to include. OR copy the old one over... They both should have the same inside.
- Click build
- It may ask you for the Launch Debug Configuration Selection, so, you pick MinGW gdb.
Monday, October 8, 2012
Copying Qt project in Eclipse
Say you have a project in Qt that you want to use as starting point for a new project. Say that your environment is Eclipse. The fastest way I found to do this is:
Labels:
IT
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment