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. Path/Directory separator inconsistent.
Forum Updated to NodeBB v4.3 + New Features

Path/Directory separator inconsistent.

Scheduled Pinned Locked Moved Unsolved General and Desktop
26 Posts 5 Posters 4.4k 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #21

    @JonB , QDir::separator does not return a QString it returns a QChar.

    Kind Regards,
    Sy

    JonBJ 1 Reply Last reply
    -1
    • SPlattenS SPlatten

      @JonB , QDir::separator does not return a QString it returns a QChar.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #22

      @SPlatten
      I KNOW THIS.

      HAVE YOU ACTUALLY TRIED IT, DESPITE WHAT YOU SAY??????????

      SPlattenS 1 Reply Last reply
      0
      • JonBJ JonB

        @SPlatten
        I KNOW THIS.

        HAVE YOU ACTUALLY TRIED IT, DESPITE WHAT YOU SAY??????????

        SPlattenS Offline
        SPlattenS Offline
        SPlatten
        wrote on last edited by
        #23

        @JonB How can I try it when it won't compile without errors? Stop shouting and calm down!

        Kind Regards,
        Sy

        JonBJ jsulmJ 2 Replies Last reply
        -1
        • SPlattenS SPlatten

          @JonB How can I try it when it won't compile without errors? Stop shouting and calm down!

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #24

          @SPlatten
          Could you please put it into your code, and show me the compile-time error message you get, as requested? I should be most obliged....

          SPlattenS 1 Reply Last reply
          0
          • SPlattenS SPlatten

            @JonB How can I try it when it won't compile without errors? Stop shouting and calm down!

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #25

            @SPlatten Sorry, but I have to support @JonB here: that line of code compiles just fine.
            "it returns a QChar" - which converts just fine to a QString (https://doc.qt.io/qt-5/qstring.html#QString-2).

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • JonBJ JonB

              @SPlatten
              Could you please put it into your code, and show me the compile-time error message you get, as requested? I should be most obliged....

              SPlattenS Offline
              SPlattenS Offline
              SPlatten
              wrote on last edited by
              #26

              @JonB , sorry, I just don't have time to back tract now, apologies if I was wrong.

              Kind Regards,
              Sy

              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