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. Qt creator setup on Beaglebone armv71 running Debian "9" stretch
Forum Updated to NodeBB v4.3 + New Features

Qt creator setup on Beaglebone armv71 running Debian "9" stretch

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
28 Posts 3 Posters 3.4k 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.
  • A Offline
    A Offline
    Ashh
    wrote on last edited by
    #1

    Hi, I am new to Qt and want to develop GUI application. before that I wish to setup Qt creator on BB (beaglebone) running Debian 9 stretch. I followed this shared link https://sites.google.com/site/timpicuc/Downhome/beaglebone-black/setting-up-qt-for-bbb-with-debian but facing errors. Is there any other way to setup Qt C++ on BB, please suggest~

    jsulmJ 1 Reply Last reply
    0
    • A Ashh

      Hi, I am new to Qt and want to develop GUI application. before that I wish to setup Qt creator on BB (beaglebone) running Debian 9 stretch. I followed this shared link https://sites.google.com/site/timpicuc/Downhome/beaglebone-black/setting-up-qt-for-bbb-with-debian but facing errors. Is there any other way to setup Qt C++ on BB, please suggest~

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

      @Ashh said in Qt creator setup on Beaglebone armv71 running Debian "9" stretch:

      but facing errors

      You should say what errors.
      If you don't need latest Qt you can simply install QtCreator and Qt from Debian repositories (using apt).

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

      A 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Ashh said in Qt creator setup on Beaglebone armv71 running Debian "9" stretch:

        but facing errors

        You should say what errors.
        If you don't need latest Qt you can simply install QtCreator and Qt from Debian repositories (using apt).

        A Offline
        A Offline
        Ashh
        wrote on last edited by
        #3

        @jsulm Thanks, when I give below command to configure....

        ./configure -v -opensource -confirm-license -prefix /opt/qt-arm -embedded arm -platform qws/linux-x86-g++ -xplatform qws/linux-am335x-g++ -depths 16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2 -no-ssse3 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -little-endian -host-big-endian -no-pch -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-webkit -no-qt3support -nomake examples -nomake demos -nomake docs -nomake translations -qt-mouse-tslib
        

        Erros: multiple errors of similar format...

        /home/ash/Downloads/qt-bbb/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/arm-linux-gnueabihf-g++ -c pipe -O3 -march=armv7-a -mtune=cortex=a8 -mfpu=neon -mfloat-abi=hard -Wall -W -I../../mkspecs/qws/linux-am335x-g++ -I. -I../../../../downloads/tslib/src -o tslib.o tslib.cpp
        make: /home/ash/Downloads/qt-bbb/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/arm-linux-gnueabihf-g++: Command not found
        make: *** [tslib.o] Error 127
        tslib disabled. 
        The tslib functionality test failed!
        

        similar errors with D-bus disabled, PulseAudio disabled, ICU disabled, NIS disabled......etc.

        Is there any installation link of direct repositories (debian) for Qt5.12.3 and how can I install that, please suggest. Thanks.

        jsulmJ 1 Reply Last reply
        0
        • A Ashh

          @jsulm Thanks, when I give below command to configure....

          ./configure -v -opensource -confirm-license -prefix /opt/qt-arm -embedded arm -platform qws/linux-x86-g++ -xplatform qws/linux-am335x-g++ -depths 16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2 -no-ssse3 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -little-endian -host-big-endian -no-pch -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-webkit -no-qt3support -nomake examples -nomake demos -nomake docs -nomake translations -qt-mouse-tslib
          

          Erros: multiple errors of similar format...

          /home/ash/Downloads/qt-bbb/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/arm-linux-gnueabihf-g++ -c pipe -O3 -march=armv7-a -mtune=cortex=a8 -mfpu=neon -mfloat-abi=hard -Wall -W -I../../mkspecs/qws/linux-am335x-g++ -I. -I../../../../downloads/tslib/src -o tslib.o tslib.cpp
          make: /home/ash/Downloads/qt-bbb/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/arm-linux-gnueabihf-g++: Command not found
          make: *** [tslib.o] Error 127
          tslib disabled. 
          The tslib functionality test failed!
          

          similar errors with D-bus disabled, PulseAudio disabled, ICU disabled, NIS disabled......etc.

          Is there any installation link of direct repositories (debian) for Qt5.12.3 and how can I install that, please suggest. Thanks.

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

          @Ashh said in Qt creator setup on Beaglebone armv71 running Debian "9" stretch:

          please suggest

          I already did: install Qt packages provided by Debian using apt (like you install any other packages).

          sudo apt-get install build-essential libgl1-mesa-dev
          sudo apt-get install qt5-default qt5-qmake qtbase5-dev-tools qt5-doc qtcreator
          

          https://doc.qt.io/qt-5/linux.html

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

          A 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Ashh said in Qt creator setup on Beaglebone armv71 running Debian "9" stretch:

            please suggest

            I already did: install Qt packages provided by Debian using apt (like you install any other packages).

            sudo apt-get install build-essential libgl1-mesa-dev
            sudo apt-get install qt5-default qt5-qmake qtbase5-dev-tools qt5-doc qtcreator
            

            https://doc.qt.io/qt-5/linux.html

            A Offline
            A Offline
            Ashh
            wrote on last edited by
            #5

            @jsulm yes, thanks. I installed like this and start with command "qtcreator". qtcreator window gets opened.
            it gives me "The command "/qmake" could not be started."
            No tool chain set from kit "Desktop".

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

              Hi,

              Beside the good point of @jsulm, you are writing that you want to develop on the BBB while following instructions for cross-compilation. Which one do you intend to do ?

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

              A 1 Reply Last reply
              0
              • A Ashh

                @jsulm yes, thanks. I installed like this and start with command "qtcreator". qtcreator window gets opened.
                it gives me "The command "/qmake" could not be started."
                No tool chain set from kit "Desktop".

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

                @Ashh said in Qt creator setup on Beaglebone armv71 running Debian "9" stretch:

                and start with command "qtcreator"

                Just to be sure: you do all this on the Beaglebone device?

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

                1 Reply Last reply
                0
                • SGaistS SGaist

                  Hi,

                  Beside the good point of @jsulm, you are writing that you want to develop on the BBB while following instructions for cross-compilation. Which one do you intend to do ?

                  A Offline
                  A Offline
                  Ashh
                  wrote on last edited by
                  #8

                  @SGaist yes, I want to setup it on BBB. these instructions are for setting up Qt on BBB via cross-compilation through Ubuntu host system, but the actual deployment is on BBB finally. so I followed that as its mentioned to setup Qt on BBB.
                  Please correct me, if I misunderstood.

                  jsulmJ 1 Reply Last reply
                  0
                  • A Ashh

                    @SGaist yes, I want to setup it on BBB. these instructions are for setting up Qt on BBB via cross-compilation through Ubuntu host system, but the actual deployment is on BBB finally. so I followed that as its mentioned to setup Qt on BBB.
                    Please correct me, if I misunderstood.

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

                    @Ashh If you want to develop directly on BBB you do not need to cross compile.

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

                    A 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @Ashh If you want to develop directly on BBB you do not need to cross compile.

                      A Offline
                      A Offline
                      Ashh
                      wrote on last edited by
                      #10

                      @jsulm Yes, I did this on BB only.

                      404c67c0-ff71-408e-a4c6-a7e6e5d4c954-image.png

                      jsulmJ 1 Reply Last reply
                      0
                      • A Ashh

                        @jsulm Yes, I did this on BB only.

                        404c67c0-ff71-408e-a4c6-a7e6e5d4c954-image.png

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

                        @Ashh It looks like your Desktop Kit has configuration issues. Please move mouse cursor over the yellow icon and see what it tells you (post it here).

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

                        A 1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @Ashh It looks like your Desktop Kit has configuration issues. Please move mouse cursor over the yellow icon and see what it tells you (post it here).

                          A Offline
                          A Offline
                          Ashh
                          wrote on last edited by
                          #12

                          @jsulm Since I am new user here, I have to wait for 10min (warning) around to post the reply on this forum.

                          yes, here it is..
                          c750f749-a519-451f-a35e-ec4a3622b4c0-image.png

                          jsulmJ 1 Reply Last reply
                          0
                          • A Ashh

                            @jsulm Since I am new user here, I have to wait for 10min (warning) around to post the reply on this forum.

                            yes, here it is..
                            c750f749-a519-451f-a35e-ec4a3622b4c0-image.png

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

                            @Ashh That is Qt 4.8.7 Kit.
                            Did you also install Qt5?

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

                            A 1 Reply Last reply
                            0
                            • jsulmJ jsulm

                              @Ashh That is Qt 4.8.7 Kit.
                              Did you also install Qt5?

                              A Offline
                              A Offline
                              Ashh
                              wrote on last edited by
                              #14

                              @jsulm since I am trying to setup Qt on BB from long time, might be I install other versions too. how to clean remaings?

                              905d632d-91f2-4ae0-a0ac-a77bd0218a3e-image.png

                              jsulmJ 1 Reply Last reply
                              0
                              • A Ashh

                                @jsulm since I am trying to setup Qt on BB from long time, might be I install other versions too. how to clean remaings?

                                905d632d-91f2-4ae0-a0ac-a77bd0218a3e-image.png

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

                                @Ashh So, you have Qt5. Add a new Kit and select that Qt version there.
                                "how to clean remaings?" - depends on how you install them. If you used apt to install you also use apt to uninstall.

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

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

                                  Just to clear some confusion, since you are developing directly on the BBB, you can follow the standard procedures that apply to desktop machines. Your device is "the desktop machine" in this case.

                                  The only thing that you won't be able to do is to use the prebuilt packages using the Qt Company's online installer because they do not provide pre-built binaries for that architecture.

                                  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
                                  0
                                  • jsulmJ jsulm

                                    @Ashh So, you have Qt5. Add a new Kit and select that Qt version there.
                                    "how to clean remaings?" - depends on how you install them. If you used apt to install you also use apt to uninstall.

                                    A Offline
                                    A Offline
                                    Ashh
                                    wrote on last edited by
                                    #17

                                    @jsulm Thanks for your suggestion. but i am sorry, may I please ask you to share some link where its shows how to add the kits. Once i add device BB vis IP under 'Generic Linux Device', its immediately close the qt-creator program. I don't understand this happening. I tried to follow this https://www.youtube.com/watch?v=eZ-HOc2P_EI
                                    Please suggest!

                                    jsulmJ 1 Reply Last reply
                                    0
                                    • A Ashh

                                      @jsulm Thanks for your suggestion. but i am sorry, may I please ask you to share some link where its shows how to add the kits. Once i add device BB vis IP under 'Generic Linux Device', its immediately close the qt-creator program. I don't understand this happening. I tried to follow this https://www.youtube.com/watch?v=eZ-HOc2P_EI
                                      Please suggest!

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

                                      @Ashh There is nothing special: go to the Kits page, click at Add button to add a Kit and configure it.
                                      "Once i add device BB vis IP under 'Generic Linux Device'" - I'm really confused now! You wrote before that you want to develop DIRECTLY on the device, right? So, why are you trying to add BB device with IP?! This is only needed if you are doing cross-compalation...

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

                                      A 1 Reply Last reply
                                      0
                                      • jsulmJ jsulm

                                        @Ashh There is nothing special: go to the Kits page, click at Add button to add a Kit and configure it.
                                        "Once i add device BB vis IP under 'Generic Linux Device'" - I'm really confused now! You wrote before that you want to develop DIRECTLY on the device, right? So, why are you trying to add BB device with IP?! This is only needed if you are doing cross-compalation...

                                        A Offline
                                        A Offline
                                        Ashh
                                        wrote on last edited by
                                        #19

                                        @jsulm Thanks. I am sorry for mistake.
                                        I am very new to Qt. since I tried many ways to setup and working on Qtcreator and spent long time on it. The actual thing, I wish to do it, I need to run a Qt developed application on BB, for which I tried these ways...

                                        1. VS2019+visualGDB--->cross compile----> deploy application to BB (I prefer this).
                                          -> application running on vs2019(win10), works well,
                                          -> but when I tried to run it and cross compile through visualGDB, it gives errors (related to opencv), for which I already posted a different post in this form https://forum.qt.io/topic/128465/unable-to-compile-qt-visualgdb-opencv, but unfortunately, it didn't get resolve. so I tried another way.....
                                        2. virtual box Ubuntu (cross compile) + setup Qt creator (BB)
                                          -> To do this, I tried to follow the steps mentioned in here https://sites.google.com/site/timpicuc/Downhome/beaglebone-black/setting-up-qt-for-bbb-with-debian, which is also based on cross-compilation to set up Qtcreator on BB through Ubuntu (host). but failed. so I am trying other option....
                                        3. Direct setup Qt creator on BB
                                          -> As per your suggestions, I am trying to do that but didn't see how to add kits in Qt. could you please share any link related to it?

                                        Please let me know the simple way to do so. Please suggest. Thanks.

                                        jsulmJ 1 Reply Last reply
                                        0
                                        • A Ashh

                                          @jsulm Thanks. I am sorry for mistake.
                                          I am very new to Qt. since I tried many ways to setup and working on Qtcreator and spent long time on it. The actual thing, I wish to do it, I need to run a Qt developed application on BB, for which I tried these ways...

                                          1. VS2019+visualGDB--->cross compile----> deploy application to BB (I prefer this).
                                            -> application running on vs2019(win10), works well,
                                            -> but when I tried to run it and cross compile through visualGDB, it gives errors (related to opencv), for which I already posted a different post in this form https://forum.qt.io/topic/128465/unable-to-compile-qt-visualgdb-opencv, but unfortunately, it didn't get resolve. so I tried another way.....
                                          2. virtual box Ubuntu (cross compile) + setup Qt creator (BB)
                                            -> To do this, I tried to follow the steps mentioned in here https://sites.google.com/site/timpicuc/Downhome/beaglebone-black/setting-up-qt-for-bbb-with-debian, which is also based on cross-compilation to set up Qtcreator on BB through Ubuntu (host). but failed. so I am trying other option....
                                          3. Direct setup Qt creator on BB
                                            -> As per your suggestions, I am trying to do that but didn't see how to add kits in Qt. could you please share any link related to it?

                                          Please let me know the simple way to do so. Please suggest. Thanks.

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

                                          @Ashh said in Qt creator setup on Beaglebone armv71 running Debian "9" stretch:

                                          could you please share any link related to it?

                                          I don't have any link and I'm wondering why a link is needed to add a Kit in QtCreator?
                                          Did you try what I already suggested?
                                          On the Kit tab in QtCreator properties click on Add button to add a new Kit. In that Kit select the Qt5 version which was detected (you can see it in the screen-shot you posted). Please do this and tell us whether you have any concrete issues.

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

                                          A 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