Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. BeagleBone Black, devices generic linux devices impossible to add?
Forum Updated to NodeBB v4.3 + New Features

BeagleBone Black, devices generic linux devices impossible to add?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
8 Posts 2 Posters 2.2k Views 2 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.
  • O Offline
    O Offline
    Olfox
    wrote on last edited by Olfox
    #1

    Hi all,

    I installed full toolchain for BeagleBone Black (BBB).

    I'm able to build, send on BBB and run on BBB a qt gui software written in the console ( without the use of qt creator).

    I want to do the same by using Qt creator now.

    I would like to add a Generic linux device kit to automatically deploy on bbb and see in my Mint developpement PC the result off the execution.

    Normally you can add a kit by my button Add in Device section is diable and i can't do it. There s only Local PC option.

    Do I use the good version of QT ( QT Creator 3.0.1 based on qt 5.2.1) ?

    How to enable the button to add it ?

    Thanks alot, i'm little bit stucked now and i really need to continue my project with this nice qt tool.

    Thanks a lot.

    1 Reply Last reply
    0
    • O Offline
      O Offline
      Olfox
      wrote on last edited by Olfox
      #2

      I succes to add the linux device by instaling the package in my linux mint :

      Name of the package : qt creator-plugin-remotelinux

      I success to set up the deploy, but now, at execution, i have an error:

      connot connect to Xserver.

      1. i would like to add the -X option when qt creator do the ssh connexion but i don't know where...

      2. i try to execute directly with ssh -X terminal connexion and there is a strange error like :

      ./testqt1: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent

      If you have any idea , i' really interessted.

      Thank you

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

        Hi and welcome to devnet,

        Looks like you cross-compiled your application with a Qt 4 for Embedded Linux but you have a classic Qt 4 for X11 on your device. Is that so ?

        As for the -X option, I'm not aware of the possibility to add options when Qt Creator does the connection.

        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
        • O Offline
          O Offline
          Olfox
          wrote on last edited by Olfox
          #4

          Hi SGaist,

          Thanks a lot for your fast reply and your welcome.

          Do you know how can i check the version on both side to compare and be sure that all is ok ? ( May be command line ? )

          Concerning my setting, I followed the Method of Derek Molloy perfectly until the end :

          http://exploringbeaglebone.com/chapter11/

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

            From the looks of the guide, you have a Qt 4 for Embedded Linux so a version that runs without X. AFAIK, the one you have installed on your BBB is a classic X built Qt.

            One thing you can do is to uninstall the Qt 4 you have on your BBB and copy the cross-compiled Qt 4 install directory at the exact same place on your BBB (you can always remove the unneeded stuff like header files later)

            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
            • O Offline
              O Offline
              Olfox
              wrote on last edited by Olfox
              #6

              Ha ok.

              Cause the first time, i worked without cross compile.

              I installed directly qt creator on the BBB and developed directly on it.

              It was a little bit painful so i decided to cross compile. That mean on my beaglebone there is already a qt creator.

              Just a question:

              1. If i cross compile for BBB, does the BBB need something special to run a qt program like a JRE for Java?

              2. What i don't understand is that making a main.cpp in my Mint console that shows a GUI window, build it and send via sftp to BBB and execute on BBB works fine, the window appear.

              But when i use Qtcreator, i have the error.

              1. i have done another test, create a console project on qt creator and deploy it on BBB, it works.

              Only GUI WITH Qt creator doesn't work :(, the most interested part lol.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7
                1. It will need the Qt libraries installed
                2. Are you sure you are using the same version of Qt for both ?
                3. QCoreApplication doesn't depend on any GUI stuff so there's nothing there to prevent it from running.

                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
                • O Offline
                  O Offline
                  Olfox
                  wrote on last edited by
                  #8

                  yes for sur, there is a mistake somewhere.

                  To be clean, i restart form scratch with a new virtual machine and by using qt 5 instead of qt4.

                  So sorry to not go until the end of this probleme, I'm focus on cross compil for qt 5 now.

                  Thanks every body for your help and see you for futur problem on qt5 :D

                  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