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. String replace content
Forum Updated to NodeBB v4.3 + New Features

String replace content

Scheduled Pinned Locked Moved General and Desktop
11 Posts 6 Posters 3.2k 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.
  • S Offline
    S Offline
    srikanth_trulyit
    wrote on last edited by
    #2

    Path handling is transparent in Qt. If you want it to work across platforms with different path separator always use "/" Unix style separator. Qt will internally convert the path according to target platform.
    You can simply convert "" to "/" and pass the same to QProcess.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #3

      If you like to translate to native separators you can use "toNativeSeparators":http://doc.qt.nokia.com/4.7/qdir.html#toNativeSeparators

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pcoliver
        wrote on last edited by
        #4

        thank you for your request....

        1 Reply Last reply
        0
        • P Offline
          P Offline
          pcoliver
          wrote on last edited by
          #5

          As I can convert / to , appreciate any example.
          thanks

          1 Reply Last reply
          0
          • AlicemirrorA Offline
            AlicemirrorA Offline
            Alicemirror
            wrote on last edited by
            #6

            If we know the scope you want to reach we can help you. The conversion what should be? a QString? A patch that Qt should manage? What ?

            Enrico Miglino (aka Alicemirror)
            Balearic Dynamics
            Islas Baleares, Ibiza (Spain)
            www.balearicdynamics.com

            1 Reply Last reply
            0
            • R Offline
              R Offline
              robort1989
              wrote on last edited by
              #7

              please providing some more details. or given any example..

              1 Reply Last reply
              0
              • AlicemirrorA Offline
                AlicemirrorA Offline
                Alicemirror
                wrote on last edited by
                #8

                @robort1989: sorry I don't understand your links in this post.

                Enrico Miglino (aka Alicemirror)
                Balearic Dynamics
                Islas Baleares, Ibiza (Spain)
                www.balearicdynamics.com

                1 Reply Last reply
                0
                • EddyE Offline
                  EddyE Offline
                  Eddy
                  wrote on last edited by
                  #9

                  I deleted the spam links in the post of robort.

                  Eddy

                  Qt Certified Specialist
                  www.edalsolutions.be

                  1 Reply Last reply
                  0
                  • AlicemirrorA Offline
                    AlicemirrorA Offline
                    Alicemirror
                    wrote on last edited by
                    #10

                    @Eddy: thank you. It was corret to report ? I am not a puritane, but it seems really bad in this context.

                    Enrico Miglino (aka Alicemirror)
                    Balearic Dynamics
                    Islas Baleares, Ibiza (Spain)
                    www.balearicdynamics.com

                    1 Reply Last reply
                    0
                    • EddyE Offline
                      EddyE Offline
                      Eddy
                      wrote on last edited by
                      #11

                      [quote author="Alicemirror" date="1316190908"]@Eddy: thank you. It was corret to report ? I am not a puritane, but it seems really bad in this context.[/quote]

                      Yes, well done. They were not Qt related.

                      This was not the only one, so we will keep an eye on it.

                      Qt Certified Specialist
                      www.edalsolutions.be

                      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