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. Running a Qt application in raspberry pi without installing the framework in the device.

Running a Qt application in raspberry pi without installing the framework in the device.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 1 Posters 730 Views
  • 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.
  • Alvaro DenisA Offline
    Alvaro DenisA Offline
    Alvaro Denis
    wrote on last edited by
    #1

    Hello I am currently able to build Qt for Raspberry Pi-3 following some internet tutorials(no matter which one):
    configure -opengl es2 -eglfs -no-gtk -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=$RPI_TOOLCHAIN -sysroot $RPI_SYSROOT -opensource -confirm-license -debug -make libs -prefix /opt/Qt4Pi -skip qtwebengine -no-use-gold-linker

    ,all of they "requiere" a -sysroot parameter to be used, so when I run make install, it install the framework in the pi file system, so I umount it and put the sd in the pi, now if I want to use the Qt4Pi framework I can not configure it because I was instaled it in the target system, not in the host(my working PC)

    What I want:

    • Build Qt with -static linker flag, to run my qt App in the device without qt installed. Is it possible?
    • Install Qt4Pi in my host to configure it in qtcreator as another build set.
    • Some one can tell me why in recent qt versions I need to use -no-use-gold-linker
    • Know If is possible to use all QML features without qtwebengine.
    • Know if make sense(is possible) build Qt for Pi without a pi filesystem "reference"(-sysroot).
    1 Reply Last reply
    0
    • Alvaro DenisA Offline
      Alvaro DenisA Offline
      Alvaro Denis
      wrote on last edited by
      #2

      For a major question(install in my host), use -extprefix and -hostprefix, see more with configure --help or follow this link:
      https://gist.github.com/arraytools/604e5bc5b0c56c1cfb30#file-qt5-5_configure-L8

      For other opinions, I keep the question open.

      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