Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47772

QDesktopServices::openUrl opens less schemes in debug mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.5.0
    • Fix Version/s: None
    • Component/s: GUI: Workspace
    • Labels:
      None
    • Environment:
      Archlinux

      Description

      #include <QApplication>
      #include <QDesktopServices>
      #include <QUrl>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QDesktopServices::openUrl(QUrl("tg://resolve?domain=imagebot"));
      }
      

      This should open a contact in telegram. It does in debug mode. In release mode not.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            manuelschneid3r Manuel Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes