OS X - Designer cannot be opened because of a problem
-
What do you get if your run
otool -L Designer
? -
@SGaist said:
otool -L Designer
Designer: @loader_path/../../../../lib/libQtDesignerComponents.4.dylib (compatibility version 4.8.0, current version 4.8.6) @loader_path/../../../../lib/libQtDesigner.4.dylib (compatibility version 4.8.0, current version 4.8.6) @loader_path/../../../../lib/libQtScript.4.dylib (compatibility version 4.8.0, current version 4.8.6) @loader_path/../../../../lib/libQtXml.4.dylib (compatibility version 4.8.0, current version 4.8.6) @loader_path/../../../../lib/libQtGui.4.dylib (compatibility version 4.8.0, current version 4.8.6) @loader_path/../../../../lib/libQtNetwork.4.dylib (compatibility version 4.8.0, current version 4.8.6) @loader_path/../../../../lib/libQtCore.4.dylib (compatibility version 4.8.0, current version 4.8.6) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 52.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1094.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
-
That's a Qt 4 version of Designer, not a 5.4
-
@SGaist But why do I have the version 4 of Qt Designer inside the folder of Qt 5.4?
-
Well, that I don't know, but it's clearly not the right version of Designer. Did you use brew to install stuff ?
-
@SGaist I have closed the terminal and opened it again and run your command again, but now I have the following output:
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool: can't open file: Designer (No such file or directory)
-
@SGaist Also, I think this cannot be a problem related to the version of Designer, since I can use it normally from Qt Creator.
-
Since you closed the terminal you first have to go again in the folder where Designer is located
Qt Creator has a designer plugin which is not the same thing as the Designer application
-
@SGaist Yes, and I am having the same output, which seems that the standalone
Designer.app
that comes with myQt 5.4
distribution is forQt 4.8
, which is really strange.I am not sure if I had used
brew
to install something, but runningbrew list
does not show apparently any packages or programs related toQt
:clang-format cmake cscope dmd dub freetype gdbm jpeg libpng libtiff little-cms mercurial openssl pcre pkg-config portmidi sdl sdl2 sdl_image sdl_mixer sdl_ttf tree webp wget zsh
-
That really strange…
The output of
brew list
doesn't seem suspiciousI just verified with 5.5 and it's all ok
-
At the end, I decided to uninstall
Qt 5.4
(using theMaintenanceTool
that comes with the program) and installQt 5.5
. For now, theDesigner.app
works normally.I have also reinstalled
PyQt5
globally instead of on avirtualenv
. I have had some problems related to licenses' compatibility, that I solved by commenting 2 statements in theconfigure.py
ofPyQt5
, before building. This pseudo solution to this problem can be found on the web. -
There must have a been a strange glitch at some point somewhere...