Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt_urlRecode -> recode() method returns strange values
Forum Updated to NodeBB v4.3 + New Features

Qt_urlRecode -> recode() method returns strange values

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 2 Posters 1.8k Views 1 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.
  • ioanabacI Offline
    ioanabacI Offline
    ioanabac
    wrote on last edited by
    #1
    This post is deleted!
    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hostel
      wrote on last edited by
      #2

      7B and 7D are hex code for { and }.

      I did this code and everything is ok. In output I have { and }.
      @
      QUrl url;
      url.setFragment( "{8fee84ac-c008-458e-a68a-898803cc2c75}" );

      qDebug() << "Default: " << url.fragment();
      qDebug() << "Return fully decoded: " << url.fragment( QUrl::FullyDecoded  );
      

      @

      Paste the code where you have a issue.

      1 Reply Last reply
      0
      • ioanabacI Offline
        ioanabacI Offline
        ioanabac
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • H Offline
          H Offline
          Hostel
          wrote on last edited by
          #4

          If you put working example on which will see your issue then we will try solve a problem. You can't make:
          @
          url.setFragment( uuid );
          @
          because result is:
          @
          error: no matching function for call to 'QUrl::setFragment(QUuid&)'
          @

          Why you need a { } in path? Where are you using this path?

          Maybe you are doing something odd in code.

          1 Reply Last reply
          0
          • ioanabacI Offline
            ioanabacI Offline
            ioanabac
            wrote on last edited by
            #5
            This post is deleted!
            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 Extensions
            • Unsolved