Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
Import a project into Carbide.c++ from a Qt Creator workspace
In this you will come to know how to import a Qt creator IDE 4.5 project into Carbide.c++, but before going through this I want to let you know that some header files and modules (ex:webkit) are fully functional in Qt Creator IDE but yet not implemented in that Qt Symbian
How to Proceed
You will have the below shown environment for Qt Creator IDE.
When you are preparing any project in the Qt Creator IDE, your workspace is automatically assigned (default:My Document for Windows XP).
Here Are some steps that will let you know "How to import that project in Carbide C++ which are made in Qt Creator IDE":
- Locate the Qt Creator IDE workspace and then locate your project ("HelloFriends" shown in the snapshot)
After opening this folder ("HelloFriends") you will be able to see some files (HelloFriends.pro, hellofriends.cpp etc) shown in snap below.
- Copy the folder ("HelloFriends").
Paste this folder to the Carbide workspace(\Symbian\Carbide\workspace).
- Launch Carbide c++(program->Carbide c++ v2.0->Carbide c++ v2.0.exe).
Click on File->import. You will get a popup dialogbox asking to locate the .pro file from that specific project (Here is helloFriends.pro).
Click on Browse and locate the .pro file from the Carbide Workspace(\Symbian\Carbide\workspace) as shown in snap.
- When the project is imported completely to the Carbide C++, Carbide will ask for adding header and cpp files (click->YES)
After importing you can see that a number of files have been added to the project.
- After going through all the above steps, importing is completed and now open the file you have written that code in and execute it.
Note:some header files and module(ex:webkit,networking) are fully functional in Qt Creator IDE but yet not implemented in Qt for S60 v4.5
- If you dont want to copy the project folder created using creator IDE than you can follow this step to run it from Carbide IDE.
- From carbide click on the file->import and select Qt project. Now click on the browse and follow the path of your project folder.
- Finally select .pro file from that folder.