Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QDesktopServices::openUrl(QUrl("mailto:"));
QtWS25 Last Chance

QDesktopServices::openUrl(QUrl("mailto:"));

Scheduled Pinned Locked Moved General and Desktop
mailtoqdesktopservicequrl
5 Posts 2 Posters 3.3k Views
  • 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.
  • C Offline
    C Offline
    CraigBakalian
    wrote on 11 Aug 2015, 14:17 last edited by
    #1
    QDesktopServices::openUrl(QUrl("mailto:griraffe@gmail.com"));
    

    causes--->
    1)
    (process:12328): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
    in my application output.

    and then, it opens up my Thunderbird email client, my default, with
    ///giraffe@gmail.com

    Is this a bug? There is very little documentation about QDesktopServices. I do know on thing, my QUrl.toString() does not have the /// in it, so QDesktopServices is prepending it. Such a prepend would be for file:/// ????

    And yes, I am running Ubuntu 15.05, hence the GLIb thing.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      CraigBakalian
      wrote on 11 Aug 2015, 18:13 last edited by
      #2

      Okay, no response. I am assuming this is a bug, and it is pretty bad. How do we report such a bug?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 11 Aug 2015, 20:33 last edited by
        #3

        Hi,

        Please be a bit patient, this forum is community driven. Not all users live in the same timezone as you so allow 24 hours before bumping your own thread.

        As for your question, you should add which version of Qt you are currently using and from where you installed it.

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

        1 Reply Last reply
        0
        • C Offline
          C Offline
          CraigBakalian
          wrote on 11 Aug 2015, 23:07 last edited by
          #4

          Well okay, patients.

          Qt Creator 3.1.1
          Based on Qt 5.4.1 (GCC 4.9.2, 32 bit)
          Built on Mar 11 2015 at 06:46:50

          and yes, I did the simple install from Ubuntu Software Center.
          Is there a difference in the installs?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 12 Aug 2015, 20:03 last edited by
            #5

            Yes there might be, the current Qt version is 5.5.0 so you are using an older version. Can you test with 5.5 to check if you still experiencing this ?

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

            1 Reply Last reply
            0

            5/5

            12 Aug 2015, 20:03

            • Login

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