Unsolved Error in Installing Qt in Ubuntu-mate 18.04
-
@Malathi-K Usually the development files have a
-dev
suffix. But my Ubuntu 14.04 here shows:apt-cache search qt5 | grep qt5-default qt5-default - Qt 5 development defaults package
so qt5-default should be a good start.
Also note that Qt 4 is already very old and I would not use it for new development.
Regards
-
@aha_1980 Hi,
Can you please me fix this error, while trying to install qt5-default
ioz@ioz-desktop:~/Desktop$ sudo apt-get install qt5-default
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:The following packages have unmet dependencies:
qt5-default : Depends: qtbase5-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.Thanks
Malathi -
-
@Malathi-K Install qtbase5-dev also
-
@jsulm -I have installed qtbase5-dev as per your suggestion but still I get error.Please check the screenshot.
Also, My kits have no option for Qt5(qt2.png)
Help me in solving this error.
-
@malathi-k Sorry, but in these tiny screenshots I cannot see anything helpful...
Please show the whole Kit configuration.
Also, there is an yellow exclamation mark on the left side of the Kit name put the cursor over it and see what the popup shows.
Also, do you really want to use Qt4 which is dead since many years already? -
@jsulm I have uninstalled all qt related dependencies and again installed qt5. Please check the screenshot(there is no option to fix the font size to normal in ubuntu mate,as of now I have sent the picture of the whole screen ).
After reinstalling qt5,
-
@malathi-k Are you aware that this screenshot is way too small to contain any useful information? In fact it contains less information than your previous screenshots. So, what should I check?
Why don't you make a bigger screenshot?
And did you do what I suggested before - put mouse cursor over the yellow exclamation mark? -
@jsulm I think the problem is, the fact, that what we see is the entire screenshot of OP's desktop.
How anyone can work on a 592 x 448 Screen is beyond me. I don't know what the minimal resolution of QtCreator is, but I would bet it higher than that.
-
@j-hilk
You're right. It's 2019 now, everyone should be working on 640x480 by now ;-) -
@jonb AFAIK, the minimal vertical resolution to display the settings dialog is 600 px. That was done in times the netbooks were familiar which had 1024x600 or so resolution.
Regards
-
Hi @Malathi-K
I'd recommed to use the Qt Online installer. With that you can install latest Qt packages and the QtCreator as well. The installer will automatically install Kits (registers compilers and debuggers) and in addition it will contain the examples and documentation of the selected Qt packages: