New to Qt, question about code converstion
-
Hello,
I'm new to Qt SDK and currently using VS2008.
I'm trying to convert one of my apps from VB to Qt. I have done some search and watched some tutorials but I'm still puzzled since Qt is a bit different than VS.
Anyway, is there a website, a code converter, or a reference on how to do this?
Example: what would be the equivalent of this VB code* @shell("cmd.exe")@ in Qt?*Upon a button click this code starts command prompt.
-
Check out "QProcess":http://developer.qt.nokia.com/doc/qt-4.7/qprocess.html to run arbitrary commands. Note that running external commands can be tricky when you try to do something on several platforms: The commands tend to have different names and different behaviors on all the different OSes out there.