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. unable to create python code - libexec folder containing UIC not present
Forum Updated to NodeBB v4.3 + New Features

unable to create python code - libexec folder containing UIC not present

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 838 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.
  • C Offline
    C Offline
    cshea
    wrote on last edited by cshea
    #1

    Hi,

    Very new to this and have probably made a mistake BUT:

    When trying to create the Python code within qtdesigner it says the miniconda3/lib/python3.11/site-packages/qt6_applications/Qt/libexec/uic is unavailable as the folder does not exist (libexec)

    I can see that the folder DOES exist under site-packages/pyside6/Qt

    Should i have qt6 and pyside both installed?
    Have i missed something?

    I was having issues viewing SVG files in qtdesigner6 so installed some additional tool packages and i think ive made a complete mess of things.

    Is there an easy way to remove everything and start over? Pip uninstall does not remove the folders and assuming reg keys.

    MAC OS

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      How did you install PySide6 ? You seem to have a mix between conda and pip.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        How did you install PySide6 ? You seem to have a mix between conda and pip.

        C Offline
        C Offline
        cshea
        wrote on last edited by
        #3

        @SGaist
        Hi, thanks for responding.

        I had Python 3 and pycharm installed initially.

        I then installed pyqt6 via the terminal using pip3 and then installed qtdesigner via terminal also.

        I then installed qt design tools and pyside6 via pip.

        From what im reading i shouldnt have pyqt and pyside together?

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cshea
          wrote on last edited by cshea
          #4

          Right,

          So I've actually reset my MacBook as was running into numerous issues using Custom PyQt widgets also.

          I'm trying to find the correct method for installing pyQt6 and PyQt6-tools however. After numerous attempts and resets I've ended up on using Pycharm and creating the Venv with python version 3.8, and then installing everything via the venv.

          This did allow me to install PyQt6-tools without error. However:

          Im still unable to use SVG files in QTdesigner. I can import them to resource but they are not visible. (resolved: running "pyqt6-tools designer" from Pycharm vend)

          Also: I cannot export to Python code from QTdesigner as libexec/uic does not exist. - still present after running QTdesigner via: "pyqt6-tools designer"

          Any suggestions?

          Im launching QTDesigner from the venv (file location > open in Finder)

          SGaistS 1 Reply Last reply
          0
          • C cshea

            Right,

            So I've actually reset my MacBook as was running into numerous issues using Custom PyQt widgets also.

            I'm trying to find the correct method for installing pyQt6 and PyQt6-tools however. After numerous attempts and resets I've ended up on using Pycharm and creating the Venv with python version 3.8, and then installing everything via the venv.

            This did allow me to install PyQt6-tools without error. However:

            Im still unable to use SVG files in QTdesigner. I can import them to resource but they are not visible. (resolved: running "pyqt6-tools designer" from Pycharm vend)

            Also: I cannot export to Python code from QTdesigner as libexec/uic does not exist. - still present after running QTdesigner via: "pyqt6-tools designer"

            Any suggestions?

            Im launching QTDesigner from the venv (file location > open in Finder)

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Did you check whether you have something call pyuic or py-uic ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            M 1 Reply Last reply
            1
            • SGaistS SGaist

              Did you check whether you have something call pyuic or py-uic ?

              M Offline
              M Offline
              mashewt
              wrote on last edited by
              #6

              @SGaist I am having similar issues using Ubuntu

              I had this error initially
              46770b9d-361c-4fea-a13f-1ef86ffa3691-image.png

              But then i created the specified folder and put in the uic.exe file that was requested but not also getting this error

              ca3e731f-4284-4c14-a16a-1f159659fcb5-image.png

              Any ideas on how to fix this?

              SGaistS 1 Reply Last reply
              0
              • M mashewt

                @SGaist I am having similar issues using Ubuntu

                I had this error initially
                46770b9d-361c-4fea-a13f-1ef86ffa3691-image.png

                But then i created the specified folder and put in the uic.exe file that was requested but not also getting this error

                ca3e731f-4284-4c14-a16a-1f159659fcb5-image.png

                Any ideas on how to fix this?

                SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @mashewt hi,

                What exactly did you install ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                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