Is it possible to have existing C++ code work with Qt? -


i new here. beginner in qt intermediate level programmer in c++. had written program in c++ , stl(no code platform dependent , whole program broken around ten .cpp/.h files). if develop gui in qt,can link old program or should rewrite everything? instance use file io using fstream. in qt see there qfile possible link it. program pretty lengthy. hard rewrite everything. gui not mandatory me thought presentation.it project please reply soon.please give me examples or sites refer if possible. thank in advance... manish

you can write qt gui program:

one option create separate program gui starts program subprocess, using qprocess. gui program send command line parameters , can communicate it.

another option rewrite main of program function. can gui program call function.

there no need use qfile or other parts of qt unless want rewrite part of program or use feature of qt.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -