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. Installing with Linux
Forum Updated to NodeBB v4.3 + New Features

Installing with Linux

Scheduled Pinned Locked Moved Installation and Deployment
19 Posts 4 Posters 8.5k Views 1 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.
  • Q Offline
    Q Offline
    QT_fan
    wrote on 16 Apr 2014, 22:03 last edited by
    #1

    I have been learning QT Creator 3.0.1 using Windows 7. Installation presented no problems using the online installer and I then attempted to install on a different computer using Linux Puppy 5.7.1. When the installation was about 25% complete I received the following message:

    Could not download archive: http://download.qt-
    project.org/online/qtsdkrepository/linux_x86/android/qt5/qt.521.android_armv7.essentials/5.2.1android_armv7_qt5_essentials:Cannot download http://download.qt-project.org/online/qtsdkrepository/linux86/android/qt5qt521.android_armv7.essentials/5.2.1android_armv7_qt5_essentials
    Writing to file'/tmp/remoterepo-gw8YAJ/qt.521.android_armv7.essentials/5.2.1android_armv7_qt5_essentials.7z’ failed:
    Unknown error

    Can anyone advise me on what this means and how I can fix it? Thanks.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 17 Apr 2014, 02:37 last edited by
      #2

      Running out of disk space, perhaps? Or network problems?

      (Z(:^

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        QT_fan
        wrote on 21 Apr 2014, 14:14 last edited by
        #3

        I have about 40GB of disk space unused so I don't think that is it. I never saw any problem when I installed on Windows. I attempted the Linux online installation twice and it stopped at the same place with the same message.

        I tried downloading the file qt-opensource-linux-x86-5.2.1.run for offline installation and although it installed successfully I couldn't get it to respond to keyboard inputs. It would respond to mouse inputs but nothing from the keyboard. This has really got me baffled! Any help would be much appreciated.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          clochydd
          wrote on 21 Apr 2014, 16:16 last edited by
          #4

          Hi, what do you mean with "no keyboard inputs"? Can you start the Creator but it does not respond to the keyboard?
          Could you post the download link you used?

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            QT_fan
            wrote on 22 Apr 2014, 12:29 last edited by
            #5

            Creator starts OK and I can access anything via the mouse. For example, I can pull down the File Menu and select 'New File or Project'. I can then select 'Applications' and 'Qt Widgets Application' and click 'Choose'. When the 'Introduction and Project Location' window appears I attempt to type in a name for the project but it has no effect.

            This is the link I used.

            http://download.qt-project.org/official_releases/qt/5.2/5.2.1/qt-opensource-linux-x86-5.2.1.run

            1 Reply Last reply
            0
            • C Offline
              C Offline
              clochydd
              wrote on 22 Apr 2014, 12:36 last edited by
              #6

              I presume this has to do with the Creator setup.
              First thing: Is it possible to select one of the examples and build it?
              And you should verify if compiler, linker, kits are configured: "Configure Qt Creator ":http://qt-project.org/forums/viewthread/41726/

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sierdzio
                Moderators
                wrote on 22 Apr 2014, 12:54 last edited by
                #7

                I think you might be missing some dependencies, like 7z and XKB.

                (Z(:^

                1 Reply Last reply
                0
                • Q Offline
                  Q Offline
                  QT_fan
                  wrote on 26 Apr 2014, 15:01 last edited by
                  #8

                  [quote author="Clochydd" date="1398170192"]I presume this has to do with the Creator setup. First thing: Is it possible to select one of the examples and build it? And you should verify if compiler, linker, kits are configured: "Configure Qt Creator ":http://qt-project.org/forums/viewthread/41726/[/quote]

                  I cannot access any examples to build.

                  The link you included did not work for me; it led to an unrelated post.

                  The website section on configuring Qt Creator was informative but I couldn't follow any of the instructions since I couldn't enter anything from the keyboard.

                  The installation displayed a message that the help plugin had errors and could not be loaded. I wonder if there was anything else missing. The title bar did not appear either. Related problem maybe?

                  The only success I've had with Qt Creator was installing it under Windows 7. No luck under Linux. Perhaps I should ask if anyone has installed it under Linux and advise me what version of Linux you have and any tips/tricks as to how you did it.

                  1 Reply Last reply
                  0
                  • Q Offline
                    Q Offline
                    QT_fan
                    wrote on 26 Apr 2014, 15:04 last edited by
                    #9

                    [quote author="sierdzio" date="1398171267"]I think you might be missing some dependencies, like 7z and XKB.[/quote]

                    Could you explain a little more about '7z' and XKB'? What are they, where can I find them and what would I do with them?

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      sierdzio
                      Moderators
                      wrote on 26 Apr 2014, 15:14 last edited by
                      #10

                      See the dependencies "here":http://qt-project.org/wiki/Building_Qt_5_from_Git. Not all are needed when installing the prebuilt package.

                      7z is a type of zip compression. XKB is X keyboard extension. Both are pretty standard stuff for Linux distros, but maybe - just maybe - you don't have them installed.

                      (Z(:^

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        clochydd
                        wrote on 26 Apr 2014, 18:24 last edited by
                        #11

                        Apologise for the bad link - "this ":http://qt-project.org/doc/qtcreator-3.1/creator-configuring.html is a correct one.

                        bq. The only success I’ve had with Qt Creator was installing it under Windows 7. No luck under Linux. Perhaps I should ask if anyone has installed it under Linux and advise me what version of Linux you have and any tips/tricks as to how you did it.

                        I have installed Qt5 on several Ubuntu versions (Kubuntu, with KDE) and had no problems with any. Usually most Build options are automatically preset but I suggest you should look at the configuration following the link provided. If you still suffer with that problem please come back to the forum.

                        1 Reply Last reply
                        0
                        • Q Offline
                          Q Offline
                          QT_fan
                          wrote on 1 May 2014, 20:43 last edited by
                          #12

                          I installed XUbuntu 14.04 on my laptop and was able to use the online installer for Qt5. The welcome screen was blank but I was able to create a new project. However, on the build/run screen there were no default selections for kits, Qt versions or compilers. Either nothing was auto-detected or what was displayed showed the red stop sign icon. When I reviewed these selections on my desktop under Windows they all had defaults which worked fine. Now I need to figure out how to do this under Linux. What should I do next?

                          1 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            clochydd
                            wrote on 1 May 2014, 21:23 last edited by
                            #13

                            I always use Kubuntu and all Qt setups worked perfectly.
                            What I suggest is: With your Xubuntu install try to setup the kits with compiler and linker manually following the link above or test the installation of Kubuntu 14.04.

                            1 Reply Last reply
                            0
                            • Q Offline
                              Q Offline
                              QT_fan
                              wrote on 2 May 2014, 14:30 last edited by
                              #14

                              Thanks for the suggestions.

                              I reviewed the link on configuring Qt Creator. The first sentence was:

                              “If you install Qt Creator as part of a Qt installation, you should be able to use it out-of-the-box, with the default settings and configuration options.”

                              This was my experience with Qt Creator under Windows 7. I hoped it would be the same under Linux but I encountered multiple difficulties. The following was what I found under Build & Run.

                              Kits: There was one auto-detected: Desktop Qt 5.2.1 GCC 32 bit(default). This was preceded by the red stop icon. What does this mean?

                              Compiler: None were auto-detected but the 'Add' menu listed Linux ICC, MinGW, GCC, Clang, Custom, and QCC. The only one I could find was 'GCC' so I added it with the appropriate path.

                              Qt Versions: Four were auto-detected but all preceded by the red stop icon. All of these produced the message: “No compiler can produce code for this Qt version. Please define one or more compilers.”

                              I'm not sure what to do about this. What settings did you use?

                              1 Reply Last reply
                              0
                              • C Offline
                                C Offline
                                clochydd
                                wrote on 2 May 2014, 18:46 last edited by
                                #15

                                Hi, these are my settings (autodetected):
                                Debugger:
                                GDB in /usr/bin/gdb
                                Compiler:
                                GCC (x86 64bit in /usr/bin)
                                GCC (x86 32bit in /usr/bin)
                                Qt Version:
                                Qt 5.2.1 GCC 64bit /home/.../Qt52/5.2.1/gcc_64/bin/qmake
                                Kits:
                                Desktop Qt 5.2.1 GCC 64bit

                                Hope it's useful for you

                                1 Reply Last reply
                                0
                                • Q Offline
                                  Q Offline
                                  QT_fan
                                  wrote on 5 May 2014, 15:35 last edited by
                                  #16

                                  The settings I used were similar to yours but were 32bit. I tried installing Kubuntu but I received the message: "Not enough disk space to store all selected components. Available space 911MB, at least 2.14GB required." I have adequate disk space so not sure why this happened. I am running Linux out of a live USB drive, (16GB). Could this be causing these problems? Should I do a full install instead?

                                  1 Reply Last reply
                                  0
                                  • C Offline
                                    C Offline
                                    clochydd
                                    wrote on 5 May 2014, 16:21 last edited by
                                    #17

                                    I never tried to run it from an USB drive but AFAIK it should work.
                                    Googled a bit and hopefully "this ":http://rudd-o.com/linux-and-free-software/a-better-way-to-create-a-customized-ubuntu-live-usb-drive may help you.

                                    1 Reply Last reply
                                    0
                                    • Q Offline
                                      Q Offline
                                      QT_fan
                                      wrote on 6 May 2014, 22:44 last edited by
                                      #18

                                      I did a full install of Ubuntu on a spare HDD with nothing else on it. It ran fine so I installed Qt Creator on it but it did not do any better than with Ubuntu running from a USB drive. I have now tried to install Qt Creator on six different Linux distros and three different computers; Qt Creator just doesn't want to run on Linux! I can't think of anything else to try and may have to give up on Qt Creator.

                                      1 Reply Last reply
                                      0
                                      • JKSHJ Offline
                                        JKSHJ Offline
                                        JKSH
                                        Moderators
                                        wrote on 7 May 2014, 02:24 last edited by
                                        #19

                                        Hi,

                                        I don't know about other distros, but Ubuntu does not come with a C++ compiler or OpenGL development libraries by default.

                                        I have Ubuntu 14.04, and these are the steps I take to get a fully-functional Qt development environment:

                                        Install g++ from the Ubuntu repository

                                        Install Mesa development libraries from the Ubuntu repository

                                        Install Qt from the Qt Project website (e.g. http://download.qt-project.org/official_releases/qt/5.2/5.2.1/qt-opensource-linux-x86-5.2.1.run )

                                        See https://qt-project.org/forums/viewthread/33411 for more details

                                        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                        1 Reply Last reply
                                        0

                                        1/19

                                        16 Apr 2014, 22:03

                                        • Login

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