[moved]calling c application in Qt
I have a 'c' application which is working fine and I want to call this application in Qt. Is it a possible to do so? Please give any links or any idea.
This issue isn't coincidentally linked to "this":http://developer.qt.nokia.com/forums/viewthread/9670/ issue, isnt' it?
There are three possibilities:
- execute your application written in C using QProcess
- create a library out of your C code and link it to your C++ application (extern "C" needed)
- copy and paste the C code into your C++ application
bq. This issue isn’t coincidentally linked to this [developer.qt.nokia.com] issue, isnt’ it?
@prabhuraj: If this post is only a further detail of your other post as suggested by Lukas, please notify me so I merge the two threads. Else we leave thie post independent.
Whatever it is about, it is not about mobile and embedded. Moving.
@andre: Thanks :)
See the C++ FAQ "How to mix C and C++":http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html and search the forums, the topic has been discussed several times. If you have a concrete problem, post some snippets. You cannot get more than a general answer for a general question...