Important: Please read the Qt Code of Conduct -

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.

  • Moderators

    Check out "QProcess": 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.

Log in to reply