Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt on OSX cross compiler for PI
Forum Updated to NodeBB v4.3 + New Features

Qt on OSX cross compiler for PI

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
cross platformos xraspberry pi
20 Posts 3 Posters 10.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.
  • SGaistS SGaist

    Hi and welcome to devnet,

    Are you trying from OS X or from Windows ? In either case, I'd recommend the use of e.g. VirtualBox and make a virtual machine with Linux on it (e.g. Kubuntu). That will make the cross-compiling way easier.

    D Offline
    D Offline
    DavidHux
    wrote on last edited by
    #8

    @SGaist
    Thank-you for the advice on =reflection:

    I have installed Ubuntu 14.04 LTS (in Parallels).
    I installed the QtCreator package which came with it.
    I can ssh to my raspberry.

    But when I tried to set up QtCreator to cross compile (Tools/Options/Devices) it failed to test connect to my Pi - never had this problem before in previous attempts to set up a cross compiler e.g on OSX and Windows! )

    OK - so I removed it and went to the Wiki 'Install QTCreator on Ubuntu' - I now find that Ubuntu will not execute .run files, again a google search reveals a large number of 'do this or that' none of which work (for me)!

    I feel I am running out of options!

    David H

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

      Might be a silly question but: can you ssh from OS X or from Ubuntu ?

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

      D 1 Reply Last reply
      0
      • SGaistS SGaist

        Might be a silly question but: can you ssh from OS X or from Ubuntu ?

        D Offline
        D Offline
        DavidHux
        wrote on last edited by
        #10

        @SGaist

        Yes I can ssh from Ubuntu to Pi (and from OSX and from Windows)

        David

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

          What error are you getting from Qt Creator when connecting to your Pi ?

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

          D 1 Reply Last reply
          0
          • SGaistS SGaist

            What error are you getting from Qt Creator when connecting to your Pi ?

            D Offline
            D Offline
            DavidHux
            wrote on last edited by
            #12

            @SGaist

            I do apologise, I should have included this before - I get

            Setting up QtCreator to cross compile (Tools/Options/Devices) it failed to test connect to my Pi

            SSH connection failure: SSH Protocol error: Server and client capabilities don't match. Client list was: aes128-cbc,3des-cbc.
            Server list was aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com.

            Device test failed.

            Thank-you for your interest

            David H

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

              What Linux flavor are you running on the Pi ?

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

              D 1 Reply Last reply
              0
              • SGaistS SGaist

                What Linux flavor are you running on the Pi ?

                D Offline
                D Offline
                DavidHux
                wrote on last edited by
                #14

                @SGaist
                I am running Jessie on the pi

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

                  Ok, sounds right, what about Qt Creator ? Which version is it ?

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

                  D 1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    DavidHux
                    wrote on last edited by
                    #16

                    I am just rebuilding the Linux system, I will let you the exact details when that has finished - it was the QtCreator which comes with the Ubuntu 14.04 package library!

                    David

                    1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Ok, sounds right, what about Qt Creator ? Which version is it ?

                      D Offline
                      D Offline
                      DavidHux
                      wrote on last edited by
                      #17

                      @SGaist

                      The Qtcreator is:

                      Version 3.0.1 - based on Qt5.2.1(GCC 4.8.2, 64bit) Apr 9 2014 at 09:1259

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

                        Might be a bit old, I'd try with 3.5.1 before anything else.

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

                        D 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          Might be a bit old, I'd try with 3.5.1 before anything else.

                          D Offline
                          D Offline
                          DavidHux
                          wrote on last edited by
                          #19

                          @SGaist

                          Hmmmm.

                          I am running UBUNTU 14.04LTS in Parallels on a Mac-mini

                          The Mac Mini CPU is an Intel Core 5 (which I would assume is an i386 and not an AMD)

                          The files installed for qtcreator as listed in packages.ubuntu.com are for an AMD64 machine (/usr/lib/x86_64_linux_gnu/...).

                          Also the ubuntu list shows that Qtcreator after 3.0.1 are under development.

                          This does not look right!

                          In any case I have just seen (doc.qt.io) that Qt 5.0 no longer includes a Windows Platform, and suggests that I should wait for Wayland

                          I think all this means that I should go elsewhere, so thank-you for you time and interest, it is much appreciated.

                          David

                          1 Reply Last reply
                          0
                          • jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #20

                            Core i5 is for sure x86_64 and it can execute i386 binaries as well.
                            Because x86_64 was invented by AMD and later implemented by Intel as well it is often called AMD x86_64.

                            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