Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. India
  4. Source code not running in different versions of Qt Creator and Qt kit with different Raspbian (Jessie and Buster)?

Source code not running in different versions of Qt Creator and Qt kit with different Raspbian (Jessie and Buster)?

Scheduled Pinned Locked Moved Solved India
7 Posts 2 Posters 1.8k Views
  • 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.
  • S Offline
    S Offline
    SHUBHAM SINGH RAO
    wrote on last edited by
    #1

    Hi there
    I am using Raspbian Jessie (Linux-8) with Qt Creator Version -3.2.1 and Qt (Kit) Version 5.3.2. In this configuration my source code is running fine.

    Now I have downloaded fresh Raspbian Buster (Linux-10) and installed Qt Creator and Qt libraries in that image with following commands -

    1. sudo apt install qttools5-dev
    2. sudo apt-get install qtcreator
      With these commands ,now my Qt Creator Version is 4.8.2 and Qt (Kit) Version 5.11.3.

    Issue-
    Source code of Qt Creator Version -3.2.1 and Qt (Kit) Version 5.3.2 in Jessie is not working in Qt Creator Version is 4.8.2 and Qt (Kit) Version 5.11.3 in Buster
    It is giving errors related to absence of basic libraries like mainwindow, qstring , qtimezone, qtgui, etc

    Query -
    Is the problem arising due to different versions of Qt Creator and Qt versions?
    What should I do?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      From the looks of your commands, you didn't install the Qt development packages.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • S Offline
        S Offline
        SHUBHAM SINGH RAO
        wrote on last edited by SHUBHAM SINGH RAO
        #3

        i have given this command as well
        sudo apt-get install build-essential

        Is it possible to install Qt Creator Version -3.2.1 in buster?
        If so then by which command?

        Because sudo apt-get install qtcreator results in Qt Creator Version is 4.8.2!

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          This is to install the set of packages for compiling applications/libraries.

          As I already wrote, you need to install the Qt development packages.

          If you want to get such an old version of Qt Creator, you likely want to get a pre-built version however, this has nothing to do with the problem at hand. Qt Creator is just an IDE, you need to properly setup the development packages you need for development.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply
          1
          • SGaistS SGaist

            This is to install the set of packages for compiling applications/libraries.

            As I already wrote, you need to install the Qt development packages.

            If you want to get such an old version of Qt Creator, you likely want to get a pre-built version however, this has nothing to do with the problem at hand. Qt Creator is just an IDE, you need to properly setup the development packages you need for development.

            S Offline
            S Offline
            SHUBHAM SINGH RAO
            wrote on last edited by SHUBHAM SINGH RAO
            #5

            @sgaist said in Source code not running in different versions of Qt Creator and Qt kit with different Raspbian (Jessie and Buster)?:

            To install the Qt development packages:
            I used following 2 commands :

            1. sudo apt-get install qtbase5-dev
            2. sudo apt-get install qtdeclarative5-dev qml-module-qtquick-controls

            Am I moving in the right direction?
            If not, kindly suggest how to install the Qt development packages?

            Another Question :
            If I upgrade Jessie to Stretch, then stretch to buster
            by
            sudo apt-update
            sudo-apt uprade
            Will the Qt Creator version remains the same or it gets upgraded?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Yes you are moving in the right direction.

              When doing a distribution upgrade, packages will be upgraded.

              If they are not already installed, you may have to install other development packages matching the modules you are using in your application.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              S 1 Reply Last reply
              1
              • SGaistS SGaist

                Yes you are moving in the right direction.

                When doing a distribution upgrade, packages will be upgraded.

                If they are not already installed, you may have to install other development packages matching the modules you are using in your application.

                S Offline
                S Offline
                SHUBHAM SINGH RAO
                wrote on last edited by SHUBHAM SINGH RAO
                #7

                @sgaist thanks . I upgraded jessie to stretch, then to buster. The Qt Creator version remains same, which has sorted my problem

                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