Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
36
rated 0 times [  36] [ 0]  / answers: 1 / hits: 109556  / 1 Year ago, sun, april 16, 2023, 11:43:16

I have installed Qt5 from the Qt5 project site, to the following directory



/opt/Qt5 


I would also like to mention that I had Qt4 installed previously, I have removed all instances of Qt4 through the software center.



Now that I issue designer from the command prompt, the system gives the following error:



designer: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/designer': No such file or directory


What can be done to correct this problem?


More From » 13.10

 Answers
7

Replace Default Qt version paths in:



/usr/lib/x86_64-linux-gnu/qtchooser/default.conf

or in newer releases /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf:



/opt/Qt5/bin
/opt/Qt5/lib


Check:



qtchooser -print-env


Reference: man qtchooser


[#26463] Sunday, April 16, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
dicatandyca

Total Points: 486
Total Questions: 108
Total Answers: 121

Location: Greenland
Member since Wed, Jan 18, 2023
1 Year ago
dicatandyca questions
;