I installed Qt library and Qt creator in Linux Mint but when I try to run the designer I get the following error:
designer: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/designer': No such file or directory
I cannot find the designer version 5 online, but I could find the version 4. I'm afraid that this older version could not handle all the Qt5 new features.
Is the Qt designer version 5 available for Linux?
The designer app is part of the qttools5-dev-tools
package:
You can find the solution to answers like "where can I get binary X from" in Debian-based distros quite easily:
% apt-file search bin/designer
qt4-designer: /usr/bin/designer-qt4
qt4-designer: /usr/lib/x86_64-linux-gnu/qt4/bin/designer
qt4-designer: /usr/share/qt4/bin/designer
qtchooser: /usr/bin/designer
qttools5-dev-tools: /usr/lib/x86_64-linux-gnu/qt5/bin/designer
qtchooser
just provides a wrapper for the designer binary, it will start either Qt4 or Qt5-based designer.
qt4-designer
& qttools5-dev-tools
contain the real binary. You can choose.
如果你使用Qt网站提供的安装程序安装了Qt,设计师也可以从~/Qt/<VERSION>/<COMPILER>/bin/designer
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.