There is a bash command that comes with installing PyQT Creator called
designer that will run a tool called Qt Designer, found under the Qt Creator package. It helps you create GUIs - pretty cool stuff.
There is a problem though... whenever I run
designer, I get this error:
designer: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/designer': No such file or directory
And that's great - I don't want it to execute
/usr/lib/x86_64-linux-gnu/qt4/bin/designer, I want it to execute
/usr/lib/x86_64-linux-gnu/qt5/bin/designer, the difference being between "qt4" (first path) and "qt5" (second path). That's where designer is.
I looked around and found this command
type -a (command) and it would tell you where the command definition is "located", if I understand correctly. So I looked it up and got:
$ type -a designer designer is /usr/bin/designer
But I can't edit that file... it's a bunch of gibberish (side question, what does it mean when a file has no file extension? What does that make it?)
So, my question is, how can I get the command
designer to execute
which designer also returns
$ file /usr/bin/designer
/usr/bin/designer: symbolic link to qtchooser'
So I also took a look at qtchooser... seems like its a command (not entirely sure what it does).
Here is some output:
file /usr/bin/qtchooser /usr/bin/qtchooser: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=96215e9441b8361f0cc57b37db70fc50752cb05a, stripped