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. Package Qt Creator (based on Qt 5.9.0) for 32 bit Linux
Forum Updated to NodeBB v4.3 + New Features

Package Qt Creator (based on Qt 5.9.0) for 32 bit Linux

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
qtcreator
10 Posts 2 Posters 10.6k 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.
  • chaithubkC Offline
    chaithubkC Offline
    chaithubk
    wrote on last edited by chaithubk
    #1

    I wanted to install the latest Qt Creator (based on Qt 5.9.0 LTS release). But, when I checked in this link I am not finding the Qt Creator setup file for 32-bit Ubuntu 12.04.

    After a quick googling I found that 32-bit Linux Qt Creator variant is not that widely used and hence Qt Creator for Linux was packaged only for 64-bit. And that, if any body wants 32-bit version, we have to build the Qt Creator our own. Am I Right ?

    So, I started following the instructions from the link.

    1. Created a new folder to contain the GIT repo of Qt Creator branch 4.1.
    mkdir qt-creator
    cd qt-creator
    git clone --recursive -b 4.1 https://code.qt.io/qt-creator/qt-creator.git
    cd ..
    
    1. I have currently installed Qt Creator 3.5.1 (based on Qt 5.5.1) 32 bit from qt-io/downloads
      Setup file name: qt-opensource-linux-x86-5.5.1.run
      The version on Qt Creator Help shows like this:
    Qt Creator 3.5.1 (opensource)
    Based on Qt 5.5.1 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 32 bit)
    Built on Oct 13 2015 07:38:32
    
    1. Create a new folder to contain the qt creator build.
    mkdir qt-creator-build
    cd qt-creator-build
    /home/Qt5.5.1/5.5/gcc/bin/qmake -r ../qt-creator/qtcreator.pro
    make
    

    The Qt Creator build successfully fine and I have found new binary qtcreator present under:
    <path to 'qt-creator-build' folder>/bin. I have executed the binary by doing ./qtcreator and I saw that a new Qt Creator version has come up on my Ubuntu machine with the version details as below:

    Qt Creator 4.1.1
    Based on Qt 5.5.1 (GCC 4.8.4, 32 bit)
    Copyright 2008-2016 The Qt Company Ltd. All rights reserved.
    

    Here, I can definitely see that the Qt Creator version got updated. But the underlying Qt Version reads "Based on Qt 5.5.1". I was expecting it to show the Qt 5.6.0 version (because I have pulled the GIT repo of Qt Creator branch 4.1 thinking that is based on Qt 5.6.0 - the reason was that the next branch 4.2 says Qt 5.6.0 or later is needed to build the branch in the prerequisites).

    Am I following the steps as expected? At the end I wanted a file something like qt-opensource-linux-x86-5.9.0.run to be produced from my Qt Creator source so that I can install the latest Qt Creator that runs on 32 bit Ubuntu 12.04 machine. Please let me know the proper steps to achieve that.

    Any help on this is appreciated. Thanks in advance.

    jsulmJ 1 Reply Last reply
    0
    • chaithubkC chaithubk

      I wanted to install the latest Qt Creator (based on Qt 5.9.0 LTS release). But, when I checked in this link I am not finding the Qt Creator setup file for 32-bit Ubuntu 12.04.

      After a quick googling I found that 32-bit Linux Qt Creator variant is not that widely used and hence Qt Creator for Linux was packaged only for 64-bit. And that, if any body wants 32-bit version, we have to build the Qt Creator our own. Am I Right ?

      So, I started following the instructions from the link.

      1. Created a new folder to contain the GIT repo of Qt Creator branch 4.1.
      mkdir qt-creator
      cd qt-creator
      git clone --recursive -b 4.1 https://code.qt.io/qt-creator/qt-creator.git
      cd ..
      
      1. I have currently installed Qt Creator 3.5.1 (based on Qt 5.5.1) 32 bit from qt-io/downloads
        Setup file name: qt-opensource-linux-x86-5.5.1.run
        The version on Qt Creator Help shows like this:
      Qt Creator 3.5.1 (opensource)
      Based on Qt 5.5.1 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 32 bit)
      Built on Oct 13 2015 07:38:32
      
      1. Create a new folder to contain the qt creator build.
      mkdir qt-creator-build
      cd qt-creator-build
      /home/Qt5.5.1/5.5/gcc/bin/qmake -r ../qt-creator/qtcreator.pro
      make
      

      The Qt Creator build successfully fine and I have found new binary qtcreator present under:
      <path to 'qt-creator-build' folder>/bin. I have executed the binary by doing ./qtcreator and I saw that a new Qt Creator version has come up on my Ubuntu machine with the version details as below:

      Qt Creator 4.1.1
      Based on Qt 5.5.1 (GCC 4.8.4, 32 bit)
      Copyright 2008-2016 The Qt Company Ltd. All rights reserved.
      

      Here, I can definitely see that the Qt Creator version got updated. But the underlying Qt Version reads "Based on Qt 5.5.1". I was expecting it to show the Qt 5.6.0 version (because I have pulled the GIT repo of Qt Creator branch 4.1 thinking that is based on Qt 5.6.0 - the reason was that the next branch 4.2 says Qt 5.6.0 or later is needed to build the branch in the prerequisites).

      Am I following the steps as expected? At the end I wanted a file something like qt-opensource-linux-x86-5.9.0.run to be produced from my Qt Creator source so that I can install the latest Qt Creator that runs on 32 bit Ubuntu 12.04 machine. Please let me know the proper steps to achieve that.

      Any help on this is appreciated. Thanks in advance.

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

      @chaithubk Take a closer look at this line:

      /home/Qt5.5.1/5.5/gcc/bin/qmake -r ../qt-creator/qtcreator.pro
      

      You used Qt 5.5.1 to build QtCreator, that's why QtCreator says it is based on Qt 5.5.1
      If you want to use another Qt version to build QtCreator then install it and use to build QtCreator.
      "thinking that is based on Qt 5.6.0" - a QtCreator binary is based on Qt version which was used to build it.

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

      chaithubkC 1 Reply Last reply
      1
      • jsulmJ jsulm

        @chaithubk Take a closer look at this line:

        /home/Qt5.5.1/5.5/gcc/bin/qmake -r ../qt-creator/qtcreator.pro
        

        You used Qt 5.5.1 to build QtCreator, that's why QtCreator says it is based on Qt 5.5.1
        If you want to use another Qt version to build QtCreator then install it and use to build QtCreator.
        "thinking that is based on Qt 5.6.0" - a QtCreator binary is based on Qt version which was used to build it.

        chaithubkC Offline
        chaithubkC Offline
        chaithubk
        wrote on last edited by chaithubk
        #3

        @jsulm Yes. But in order to get the another version, I was unable to install the version higher than Qt 5.5.1 on my 32 bit Ubuntu machine. I tried to find Qt SDK that is latest based on Qt 5.9.0 so that I can give the qmake path from that latest Qt SDK. But I was unable to find it on qt-io/downloads.

        This folder /home/Qt5.5.1/5.5/gcc/bin/qmake I got in my machine because I have installed Qt Creator 3.5.1 from the pre-built run file.

        jsulmJ 1 Reply Last reply
        0
        • chaithubkC chaithubk

          @jsulm Yes. But in order to get the another version, I was unable to install the version higher than Qt 5.5.1 on my 32 bit Ubuntu machine. I tried to find Qt SDK that is latest based on Qt 5.9.0 so that I can give the qmake path from that latest Qt SDK. But I was unable to find it on qt-io/downloads.

          This folder /home/Qt5.5.1/5.5/gcc/bin/qmake I got in my machine because I have installed Qt Creator 3.5.1 from the pre-built run file.

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

          @chaithubk said in Package Qt Creator (based on Qt 5.9.0) for 32 bit Linux:

          I was unable to install the version higher than Qt 5.5.1 on my 32 bit Ubuntu machine

          You will need to build Qt by yourself if you want a recent version as 32bit binary. Are you really bound to x86?
          Precompiled Linux 32bit Qt binaries are not provided anymore, because they were not used often in the past.

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

          chaithubkC 1 Reply Last reply
          0
          • jsulmJ jsulm

            @chaithubk said in Package Qt Creator (based on Qt 5.9.0) for 32 bit Linux:

            I was unable to install the version higher than Qt 5.5.1 on my 32 bit Ubuntu machine

            You will need to build Qt by yourself if you want a recent version as 32bit binary. Are you really bound to x86?
            Precompiled Linux 32bit Qt binaries are not provided anymore, because they were not used often in the past.

            chaithubkC Offline
            chaithubkC Offline
            chaithubk
            wrote on last edited by
            #5

            @jsulm I am currently using Ubuntu 12.04 32 bit machine for my development, only for the Qt Creator pre-built setup file purpose I need to now update my Ubuntu machine to 64 bit version. If there is a way to build the Qt Creator version the way I wanted, then I can proceed with my current development machine configuration.

            I have built the Qt 5.6.2 version for the Nitrogen board based on Yocto Framework and now am trying to build the Qt Creator with the qmake path from Qt 5.6.2 as below:

            /opt/poky/sysroots/i686-pokysdk-linux/usr/bin/qt5/qmake -r ../qt-creator/qtcreator.pro
            

            The build is in progress. !

            jsulmJ 1 Reply Last reply
            0
            • chaithubkC chaithubk

              @jsulm I am currently using Ubuntu 12.04 32 bit machine for my development, only for the Qt Creator pre-built setup file purpose I need to now update my Ubuntu machine to 64 bit version. If there is a way to build the Qt Creator version the way I wanted, then I can proceed with my current development machine configuration.

              I have built the Qt 5.6.2 version for the Nitrogen board based on Yocto Framework and now am trying to build the Qt Creator with the qmake path from Qt 5.6.2 as below:

              /opt/poky/sysroots/i686-pokysdk-linux/usr/bin/qt5/qmake -r ../qt-creator/qtcreator.pro
              

              The build is in progress. !

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

              @chaithubk One question: do you really need Qt > 5.5? You already built recent QtCreator, it doesn't matter which Qt version it is based on as long as it works properly.
              If you really need Qt > 5.5 then you will need to build it by yourself.

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

              chaithubkC 1 Reply Last reply
              0
              • jsulmJ jsulm

                @chaithubk One question: do you really need Qt > 5.5? You already built recent QtCreator, it doesn't matter which Qt version it is based on as long as it works properly.
                If you really need Qt > 5.5 then you will need to build it by yourself.

                chaithubkC Offline
                chaithubkC Offline
                chaithubk
                wrote on last edited by
                #7

                @jsulm I am planning to work on Qt 5.6.2 version also I wanted to use Qt Charts module. So If the Qt Creator was based on Qt 5.5.1 - will it show the help for the Qt Items that are designed in the Qt > 5.5 ?
                This was the reason I wanted to build the Qt Creator to be based on the same version of Qt that I am currently developing my application on.

                jsulmJ 1 Reply Last reply
                0
                • chaithubkC chaithubk

                  @jsulm I am planning to work on Qt 5.6.2 version also I wanted to use Qt Charts module. So If the Qt Creator was based on Qt 5.5.1 - will it show the help for the Qt Items that are designed in the Qt > 5.5 ?
                  This was the reason I wanted to build the Qt Creator to be based on the same version of Qt that I am currently developing my application on.

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

                  @chaithubk You can use any Qt version with QtCreator, it doesn't matter on which Qt version QtCreator is based. You can even have several Qt versions in parallel and switch between them.

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

                  chaithubkC 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @chaithubk You can use any Qt version with QtCreator, it doesn't matter on which Qt version QtCreator is based. You can even have several Qt versions in parallel and switch between them.

                    chaithubkC Offline
                    chaithubkC Offline
                    chaithubk
                    wrote on last edited by
                    #9

                    @jsulm I still have one final question. Do you have any reference that explains the instructions to package a 32-bit Qt Creator for Linux in form of .run file so that I can build it on my machine for the Qt version that I need, and I can generate a setup file that can be used to install the same qt creator on any other machine.

                    jsulmJ 1 Reply Last reply
                    0
                    • chaithubkC chaithubk

                      @jsulm I still have one final question. Do you have any reference that explains the instructions to package a 32-bit Qt Creator for Linux in form of .run file so that I can build it on my machine for the Qt version that I need, and I can generate a setup file that can be used to install the same qt creator on any other machine.

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

                      @chaithubk Just create a directory containing QtCreator, all needed libraries and plug-ins and copy it to other machines. You can zip the folder to reduce its size. You can take a look at this: http://doc.qt.io/qt-5/linux-deployment.html As QtCreator uses Qt the description there applies to it as well.

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

                      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