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. Starting a python project in qt creator, how?
QtWS25 Last Chance

Starting a python project in qt creator, how?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt designerqt creator 4.2material designpython3
3 Posts 3 Posters 5.7k 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.
  • P Offline
    P Offline
    Pataruutu
    wrote on last edited by
    #1

    i'm afraid this isn't possible but i'm still asking.. anyways here comes nothing.

    So, in qt designer, i can make GUIs with relative ease using widgets and connecting boxes to buttons etc, and after i'm done i can just convert the created .ui file to a .py file with a simple command. Now the problem is, it creates really simplistic (and imo ugly) GUIs and what i have seen, Qt creator has much better results
    as seen in here-->https://www.youtube.com/watch?v=hJKVb7WpQ_c&t=168s

    however after some googling it turns out that you can (from what i've noticed) only create c++ projects but no python ones. Yes, you can use it to create python programs but no gui development seems to be possible with creator, only with designer.

    jsulmJ mrjjM 2 Replies Last reply
    0
    • P Pataruutu

      i'm afraid this isn't possible but i'm still asking.. anyways here comes nothing.

      So, in qt designer, i can make GUIs with relative ease using widgets and connecting boxes to buttons etc, and after i'm done i can just convert the created .ui file to a .py file with a simple command. Now the problem is, it creates really simplistic (and imo ugly) GUIs and what i have seen, Qt creator has much better results
      as seen in here-->https://www.youtube.com/watch?v=hJKVb7WpQ_c&t=168s

      however after some googling it turns out that you can (from what i've noticed) only create c++ projects but no python ones. Yes, you can use it to create python programs but no gui development seems to be possible with creator, only with designer.

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

      @Pataruutu Actually QtCreator uses Designer to create GUIs, so I'm wondering why GUIs designed in Designer are uglier compared to QtCreator?

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

      1 Reply Last reply
      1
      • P Pataruutu

        i'm afraid this isn't possible but i'm still asking.. anyways here comes nothing.

        So, in qt designer, i can make GUIs with relative ease using widgets and connecting boxes to buttons etc, and after i'm done i can just convert the created .ui file to a .py file with a simple command. Now the problem is, it creates really simplistic (and imo ugly) GUIs and what i have seen, Qt creator has much better results
        as seen in here-->https://www.youtube.com/watch?v=hJKVb7WpQ_c&t=168s

        however after some googling it turns out that you can (from what i've noticed) only create c++ projects but no python ones. Yes, you can use it to create python programs but no gui development seems to be possible with creator, only with designer.

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

        @Pataruutu

        Hi the video you link is QML :)
        So its its the reason it looks differently.

        The one you call ugly is QWidgets and it uses the default look of the platform.

        It seems you can use QML with pyt
        http://pyqt.sourceforge.net/Docs/PyQt5/qml.html

        1 Reply Last reply
        2

        • Login

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