Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Cross compile QML project for Raspberry pi
Forum Updated to NodeBB v4.3 + New Features

Cross compile QML project for Raspberry pi

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 3.0k 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.
  • S Offline
    S Offline
    STSc
    wrote on last edited by
    #1

    I have a raspberry pi for which I want to create a QML application. For developing, I want to be able to debug the same application for my local desktop.
    I used the bakeqtpi script to get the cross compile tools and libraries. I created a raspberry kit using the compiled qmake, the downloaded rpi c ompiler and using an ssh connection to the rpi.
    Also I builded Qt5 for my desktop.

    Now I created a new Qt Quick 2 UI project, it runs just fine on when compiling for my desktop, but when trying to add the raspberry pi kit I get a message the the device type is not desktop.

    Is it not posible to build QML project for non desktop devices? If it is posible, how can I force qtcreator to allow me to compile for the raspberry?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JapieKrekel
      wrote on last edited by
      #2

      Is by any chance, the device type of your created kit still set to desktop?

      See "kits":http://qt-project.org/doc/qtcreator-2.6/creator-targets.html

      1 Reply Last reply
      0
      • S Offline
        S Offline
        STSc
        wrote on last edited by
        #3

        Thanks for your reply.

        It is set to Generic Linux Device. The device it self than is my raspberry pi, configured to connect using ssh. I guess thats correct?

        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