用户登录
用户注册

分享至

Mac + Anaconda 上的 Qt 设计器应用程序在哪里?

  • 作者: 广州的段友互粉吧
  • 来源: 51数据库
  • 2022-11-14

问题描述

我正在尝试在 Mac 上查找 Qt 设计器应用程序.我安装了 anaconda 包,conda 报告安装了 qt、sip 和 pyqt.我仍然无法在任何文件夹中找到设计器应用程序.我使用 pyqt 的 Python 应用程序运行良好.我对 Mac 很陌生,可能缺少一些非常简单的东西.

我确实在文件夹树中搜索了任何名为设计师的东西.我发现 QtDesigner.so (应该是可执行的?)在/Users/XXXX/anaconda/pkgs/pyqt-4.10.4-py27_0/lib/python2.7/site-packages/PyQt4 但它甚至不会运行说无法执行二进制文件"anaconda/bin 没有.

有一个文件夹 anaconda/include/QtDesigner 但注意到我可以运行/anaconda/pkgs/qt-4.8.5-3/bin - 没有设计师.我现在完全糊涂了.

解决方案

我希望您应该寻找 Qt Creator.请注意:-

<块引用>

在 Qt Creator 下集成 Qt Designer 至少早在 Qt 4.7(约 2011 年末)就被首次提及

Qt Creator 包括一个代码编辑器并集成了 Qt Designer,用于从 Qt 小部件设计和构建图形用户界面 (GUI).

如果它不在您的发行版中,您可以在此处单独下载..p>

I am trying to find Qt designer app on Mac. I installed anaconda package and conda reports that qt, sip, and pyqt are installed. Still I couldn't find the designer app in any of the folders. My Python app that uses pyqt works perfectly. I'm very new to macs and probably missing something very simple.

I did search folder tree for anything named designer. I found QtDesigner.so (supposed to be executable?) at /Users/XXXX/anaconda/pkgs/pyqt-4.10.4-py27_0/lib/python2.7/site-packages/PyQt4 but it won't even run saying "cannot execute binary file" anaconda/bin doesn't have it.

There's a folder anaconda/include/QtDesigner but noting I can run /anaconda/pkgs/qt-4.8.5-3/bin - no designer. I'm totally confused now.

解决方案

I expect it's Qt Creator that you should be looking for. Note here: -

the integration of Qt Designer under Qt Creator is first mentioned at least as early as Qt 4.7 (ca. late 2011)

Qt Creator includes a code editor and integrates Qt Designer for designing and building graphical user interfaces (GUIs) from Qt widgets.

If it's not in your distribution, you can download it separately here.

软件
前端设计
程序设计
Java相关