Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. PySide 2 development facilities

PySide 2 development facilities

Scheduled Pinned Locked Moved Unsolved Qt for Python
6 Posts 3 Posters 1.4k 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.
  • JonBJ Offline
    JonBJ Offline
    JonB
    wrote on last edited by JonB
    #1

    Maybe "RTFM" or "set it up yourself and see", but, comparing where I am presently in PyQt with what I might achieve in PySide 2, a couple of questions which you might be able to provide me with brief overview answers:

    • Does Qt Creator IDE provide editing support for Python, and if so how good?

    • Can you design Qt widget layout in Qt Creator if you are developing for PySide 2? I kinda suspect not.... With PyQt you could do it, but (I think) you had to have separate steps to turn the generated ui file into Python,, or something like that, which are all a bit hokey....

    • What happens for run-time debugging? I believe Qt Creator C++ debugging UI relies on hooking onto gdb.

    I have found that PyCharm IDE is a decent editing and debugging environment for Python. I would be loathe to use anything less. I'm thinking that Qt Creator does not have such support for Python?

    1 Reply Last reply
    0
    • JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @Denni-0

      Is this just an endorsement for a particular IDE or is there actually some non-rhetorical question(s) woven into this some where?

      Are you serious? Of course it's not an endorsement for the IDE I (happen to) use.

      Are there any non-rhetorical questions? Yep, there are 3 really specific ones, each with a bullet point against it, and a question mark in the text. Just so nobody could miss them. Nothing at all rhetorical.

      If you don't use PySide 2, or you don't use an IDE, or you don't use a debugger, you won't know the answers. If you don't know how Qt Creator works for C++, and you don't know how that compares to when you use PySide 2, you won't know the answers. If you do, you'll recognise the 3 questions are perfectly reasonable.

      mrjjM 1 Reply Last reply
      0
      • JonBJ JonB

        @Denni-0

        Is this just an endorsement for a particular IDE or is there actually some non-rhetorical question(s) woven into this some where?

        Are you serious? Of course it's not an endorsement for the IDE I (happen to) use.

        Are there any non-rhetorical questions? Yep, there are 3 really specific ones, each with a bullet point against it, and a question mark in the text. Just so nobody could miss them. Nothing at all rhetorical.

        If you don't use PySide 2, or you don't use an IDE, or you don't use a debugger, you won't know the answers. If you don't know how Qt Creator works for C++, and you don't know how that compares to when you use PySide 2, you won't know the answers. If you do, you'll recognise the 3 questions are perfectly reasonable.

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @JonB
        Hi
        Very good questions.
        I have not tried it myself yet but it seems that the Design part is still 2 step.
        https://wiki.qt.io/Qt_for_Python_UiFiles

        JonBJ 1 Reply Last reply
        1
        • mrjjM mrjj

          @JonB
          Hi
          Very good questions.
          I have not tried it myself yet but it seems that the Design part is still 2 step.
          https://wiki.qt.io/Qt_for_Python_UiFiles

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

          @mrjj
          Thanks for a sensible/helpful answer :)

          The background is that I'm thinking of changing over from PyQt + PyCharm IDE/debugger to PySide 2 + whatever it does or does not do IDE/debugger-wise inside Qt Creator. Partly for the LGPL, partly in the hope of getting a more "integrated" experience at design/debug time, compared to where I am now.

          I'll follow your link. That will tell me about the UI design phase. I'm still left with not knowing how debugging Python goes, because if Qt Creator debugging is still tied to gdb (that's how it works for C++, right, if you use MSVC you don't get debugging in Creator, is that right?) it's not going to work for Python. Clearly I need to do some reading, I was just looking to see if someone who had used them (I know you are not a Pythonista) had a quick summary on the questions.

          mrjjM 1 Reply Last reply
          0
          • JonBJ JonB

            @mrjj
            Thanks for a sensible/helpful answer :)

            The background is that I'm thinking of changing over from PyQt + PyCharm IDE/debugger to PySide 2 + whatever it does or does not do IDE/debugger-wise inside Qt Creator. Partly for the LGPL, partly in the hope of getting a more "integrated" experience at design/debug time, compared to where I am now.

            I'll follow your link. That will tell me about the UI design phase. I'm still left with not knowing how debugging Python goes, because if Qt Creator debugging is still tied to gdb (that's how it works for C++, right, if you use MSVC you don't get debugging in Creator, is that right?) it's not going to work for Python. Clearly I need to do some reading, I was just looking to see if someone who had used them (I know you are not a Pythonista) had a quick summary on the questions.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @JonB
            Hi
            I have actually been wondering the same since PySide 2 is a first-class citizen now and not
            just a language binding.

            If you dont get any good answers here, i would ask on the mail list to the Qt devs.
            https://lists.qt-project.org/

            1 Reply Last reply
            0
            • JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by JonB
              #6

              @Denni-0
              Hi Denni,

              Your response of

              Is this just an endorsement for a particular IDE or is there actually some non-rhetorical question(s) woven into this some where?

              bugged me, I did find it mildly offensive/irritating. I don't think my questions could be interpreted as an "endorsement for an IDE" and they are certainly not rhetorical, not even vaguely, each one is very specific. Perhaps when you have been on this forum as long as I & others have you might see things differently. I don't think there's any point discussing this further.

              Thankfully @mrjj did not see things your way. So, yes, my response to you did then have the intention of being irritated (though not "degradation").

              That said, perhaps we can move on. No hard feelings. All the best.

              1 Reply Last reply
              1

              • Login

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