Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QDesktopServices::openUrl doesn't work for mailto: and bitcon:?
Qt 6.12 LTS is out! See what's new in the release blog

QDesktopServices::openUrl doesn't work for mailto: and bitcon:?

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 1.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • LazyTL Offline
    LazyTL Offline
    LazyT
    wrote on last edited by
    #1

    Hi,

    when I try to open the default mail or bitcoin client with Qt5.5 a "///" is added in front of the address.

    QDesktopServices::openUrl(QUrl("mailto:em@il.net"));
    shows "///em@il.net" in mail client (thunderbird)

    QDesktopServices::openUrl(QUrl("bitcoin:somebitcoinaddress));
    shows "Invalid payment address /somebitcoinaddress" in bitcoin client (bitcoin qt)

    Is this a bug or do I somethng wrong? In the past this works...

    Thanks,
    Thomas

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What OS / Qt version are you running ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      LazyTL 2 Replies Last reply
      0
      • SGaistS SGaist

        Hi,

        What OS / Qt version are you running ?

        LazyTL Offline
        LazyTL Offline
        LazyT
        wrote on last edited by
        #3

        Debian Unstable with Qt 5.5.0 OpenSource from here.

        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          What OS / Qt version are you running ?

          LazyTL Offline
          LazyTL Offline
          LazyT
          wrote on last edited by
          #4

          Hm, same code works fine under OSX 10.10 and Windows 8.1 - strange...

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Might be a configuration problem on your Debian Unstable

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            LazyTL 1 Reply Last reply
            0
            • SGaistS SGaist

              Might be a configuration problem on your Debian Unstable

              LazyTL Offline
              LazyTL Offline
              LazyT
              wrote on last edited by
              #6

              @SGaist
              Yes, fresh installed and all is working fine now...

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt
              • Unsolved