Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    India
    2
    7
    1154
    Loading More Posts
    • 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
      SHUBHAM SINGH RAO last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 2
        • S
          SHUBHAM SINGH RAO last edited by SHUBHAM SINGH RAO

          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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 1
            • S
              SHUBHAM SINGH RAO @SGaist last edited by SHUBHAM SINGH RAO

              @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 Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                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 Reply Quote 1
                • S
                  SHUBHAM SINGH RAO @SGaist last edited by SHUBHAM SINGH RAO

                  @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 Reply Quote 0
                  • First post
                    Last post