Skip to content
  • Qurl

    Unsolved General and Desktop
    6
    0 Votes
    6 Posts
    2k Views
    mrjjM

    Hi
    Alternatively, you could use QProcess and start it with

    QString program = "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe"; QStringList arguments; arguments << "--new-window" << "https://forum.qt.io"; QProcess chromeProcess; if ( ! chromeProcess.startDetached(program, arguments) ) { qDebug() << "error" << chromeProcess.errorString(); }