Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3989112
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T06:19:59+00:00 2026-05-20T06:19:59+00:00

I liked Qt Designer on Windows so much for making GUIs for Python applications

  • 0

I liked Qt Designer on Windows so much for making GUIs for Python applications (using PyQt4) that I went and tried to install it on my Mac (under OSX 10.6.6).

At this point, I have successfully installed SIP, Qt4, and PyQt4.

The PyQt binary installers (for Windows) include a version of Qt Designer that works with PyQt. On OSX, there is no binary installer, just source. So no Qt Designer.

The Qt website offers Qt Creator as a download, but as far as I can tell, it requires that you’re writing code in C/C++.

Is there a way to make Qt Creator work with PyQt? Or is there another GUI designer for PyQt that works on a Mac?

Thanks!
-Wesley

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T06:20:00+00:00Added an answer on May 20, 2026 at 6:20 am

    If you’ve installed Qt4, then you have Qt Designer. If you used the installer from qt.nokia.com, it should be in /Developer/Applications/Qt.

    Qt Designer itself works just fine with PyQt. Qt designer just spits out XML describing the UI structure. If you were using standard Qt with C++, you would have to run the uic tool to generate C++ from the .ui files. Likewise, with PyQt4, you must run pyuic4 on the generated .ui file to create python source from it.

    If you’re looking for a full IDE solution that handles all of this with PyQt automatically, I’m unaware of the existence of one. I just have a build_helper.py script that processes all of my .ui files and places them in the appropriate place in the python package I’m developing. I run the build helper script before running the actual main program to ensure that the generated code is up to date.

    All of my .ui files go into a subfolder ui in the project root. The script then creates python source and places it into ‘myapp/ui/generated’.

    For example:

    import os.path
    from PyQt4 import uic
    
    generated_ui_output = 'myapp/ui/generated'
    
    def process_ui_files():
        ui_files = (glob.glob('ui/*.ui'),
                    glob.glob('ui/Dialogs/*.ui'),
                    glob.glob('ui/Widgets/*.ui')))
        for f in ui_files:
            out_filename = (
                os.path.join(
                    generated_ui_output,
                    os.path.splitext(
                        os.path.basename(f))[0].replace(' ', '')+'.py')
            )
            out_file = open(out_filename, 'w')
            uic.compileUi(f, out_file)
            out_file.close()
    
    if __name__ == '__main__':
        process_ui_files()
    

    I also have a few other functions in there for running pyrcc4 for resource compilation and pylupdate4 and lrelease to generate translations.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently evaluating CodeRush and one thing that I liked most when reading the
We used to use SourceSafe, and one thing I liked about it was that
Does anyone have any experience hosting the Windows Workflow designer surface? I've seen a
Lately I have installed Windows Phone 7 developement tools and noticed that VS2010 unable
I liked the discussion at Differences in Generics , and was wondering whether there
I've run into this issue quite a few times and never liked the solution
I'm a Java developer looking to learn some C#/ASP.NET. One thing I've never liked
Like many companies that require all access be through stored procedures, we seem to
I have a pretty basic windows form app in .Net. All the code is
I am trying to open an InfoPath 2007 file programmatically from a Windows service,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.