Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error in Installing Qt in Ubuntu-mate 18.04
Forum Updated to NodeBB v4.3 + New Features

Error in Installing Qt in Ubuntu-mate 18.04

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
19 Posts 7 Posters 4.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Malathi K

    Thanks for your reply.
    I have deleted the .pro.user file and reopened the project.I got the following error.Please find the screenshot.0_1563767949619_Screenshot at 2019-07-22 09-25-01.png.
    Please correct me if am wrong.I think Qt is not installed .Because I have no options in kits.

    aha_1980A Offline
    aha_1980A Offline
    aha_1980
    Lifetime Qt Champion
    wrote on last edited by
    #6

    @Malathi-K that might be, as the distros package Qt in several small packages. so far you only installed Creator, but not the Qt development files.

    Qt has to stay free or it will die.

    M 1 Reply Last reply
    1
    • aha_1980A aha_1980

      @Malathi-K that might be, as the distros package Qt in several small packages. so far you only installed Creator, but not the Qt development files.

      M Offline
      M Offline
      Malathi K
      wrote on last edited by Malathi K
      #7

      @aha_1980 for downloading development files I run this code

      //apt-get install qt4-default
      

      But I got 404 error please check the screen shot.
      0_1563772277831_404_error.png
      Is this the correct command to download the development files?

      aha_1980A 1 Reply Last reply
      0
      • M Malathi K

        @aha_1980 for downloading development files I run this code

        //apt-get install qt4-default
        

        But I got 404 error please check the screen shot.
        0_1563772277831_404_error.png
        Is this the correct command to download the development files?

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #8

        @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

        Qt has to stay free or it will die.

        M 1 Reply Last reply
        2
        • aha_1980A aha_1980

          @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

          M Offline
          M Offline
          Malathi K
          wrote on last edited by
          #9

          @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

          aha_1980A jsulmJ 2 Replies Last reply
          0
          • M Malathi K

            @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

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #10

            @Malathi-K ,

            Sorry, no. The Ubuntu or Debian users might be more fluent with this.

            Regards

            Qt has to stay free or it will die.

            1 Reply Last reply
            0
            • M Malathi K

              @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

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #11

              @Malathi-K Install qtbase5-dev also

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              M 1 Reply Last reply
              3
              • jsulmJ jsulm

                @Malathi-K Install qtbase5-dev also

                M Offline
                M Offline
                Malathi K
                wrote on last edited by
                #12

                @jsulm -I have installed qtbase5-dev as per your suggestion but still I get error.Please check the screenshot.
                0_1564727160121_qt1.png
                Also, My kits have no option for Qt5(qt2.png)
                0_1564727204593_qt2.png

                Help me in solving this error.

                jsulmJ 1 Reply Last reply
                0
                • M Malathi K

                  @jsulm -I have installed qtbase5-dev as per your suggestion but still I get error.Please check the screenshot.
                  0_1564727160121_qt1.png
                  Also, My kits have no option for Qt5(qt2.png)
                  0_1564727204593_qt2.png

                  Help me in solving this error.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by jsulm
                  #13

                  @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?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  M 1 Reply Last reply
                  2
                  • jsulmJ jsulm

                    @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?

                    M Offline
                    M Offline
                    Malathi K
                    wrote on last edited by
                    #14

                    @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,
                    0_1564746548055_qt kit error.png

                    jsulmJ 1 Reply Last reply
                    0
                    • M Malathi K

                      @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,
                      0_1564746548055_qt kit error.png

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #15

                      @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?

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      J.HilkJ 1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @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?

                        J.HilkJ Offline
                        J.HilkJ Offline
                        J.Hilk
                        Moderators
                        wrote on last edited by
                        #16

                        @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.


                        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                        Q: What's that?
                        A: It's blue light.
                        Q: What does it do?
                        A: It turns blue.

                        JonBJ 1 Reply Last reply
                        2
                        • J.HilkJ J.Hilk

                          @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.

                          JonBJ Offline
                          JonBJ Offline
                          JonB
                          wrote on last edited by
                          #17

                          @j-hilk
                          You're right. It's 2019 now, everyone should be working on 640x480 by now ;-)

                          aha_1980A 1 Reply Last reply
                          1
                          • JonBJ JonB

                            @j-hilk
                            You're right. It's 2019 now, everyone should be working on 640x480 by now ;-)

                            aha_1980A Offline
                            aha_1980A Offline
                            aha_1980
                            Lifetime Qt Champion
                            wrote on last edited by
                            #18

                            @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

                            Qt has to stay free or it will die.

                            1 Reply Last reply
                            1
                            • I Offline
                              I Offline
                              iieklund
                              wrote on last edited by
                              #19

                              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:

                              https://download.qt.io/official_releases/online_installers/

                              1 Reply Last reply
                              0

                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Search
                              • Get Qt Extensions
                              • Unsolved