Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. raspberry pi 2

    Log in to post
    • All categories
    • M

      Unsolved Crosscompilation qt 5.12.5 on linux 64 for raspberry pi 2b
      Installation and Deployment • crosscompilatio raspberry pi 2 linux • • Michal91

      2
      0
      Votes
      2
      Posts
      300
      Views

      M

      install g++ solved problem

    • B

      Solved Use two QT5.x versions in parallel
      Installation and Deployment • raspberry pi 2 qt5 cross-compile pyside2 • • ben80

      9
      0
      Votes
      9
      Posts
      556
      Views

      jeremy_k

      @ben80 said in Use two QT5.x versions in parallel:

      @jeremy_k said in Use two QT5.x versions in parallel:

      What's the reason for using different versions of Qt 5? Going down this route opens up a class of problems involving incompatible intermingling.

      @jeremy_k said in Use two QT5.x versions in parallel:

      Option 4)
      Have you looked into using a virtualenv for the python program? Apt-get won't install into it, but pip will. This encapsulates the library path mangling, although the same environment pollution problem exists for child processes.

      It seems like there is so much that i can do wrong here. I am running this raspberry only at my home, so i am not distributing it. As long as i have a working solution (not too messy) it's ok for me.

      That's the best version of an unfortunate scenario. If you're careful about not executing other programs, the environment variable issue is manageable. Python modules that use external commands to discover bits of system configuration appears to be common. For example, https://github.com/pyinstaller/pyinstaller/issues/4657. QDesktopServices::openUrl() failing to work is another one to watch for.

      I cannot use pip on the raspberry, since there are no ARM packages for PySide2 provided. Therefore i am using apt-get. I am also using a pyenv virtualenv, but i need to copy the site-package files manually. Not nice, but it works.

      It might be reasonable to tell apt-get to install into the venv directory as an alternative root. For dpkg, the option appears to be --root=<alternative root>.

    • M

      Unsolved Using qmake and it can't find qtquickcontrols2
      Tools • build qt raspberry pi 2 qmake-qt5 • • MLeone

      10
      0
      Votes
      10
      Posts
      1020
      Views

      sierdzio

      @MLeone said in Using qmake and it can't find qtquickcontrols2:

      @SGaist I create a folder inside the src folder, called qt-biuld. Then I do
      -prefix ../qtbase

      You are installing (make install) into qtbase, so it's not a clean build. Pick a different install target directory, like $PWD or something entirely different.

    • P

      Solved Project ERROR: Unknown module(s) in QT: serialport (Raspbian Jessie)
      Mobile and Embedded • raspberry pi 2 serialport jessie raspbian • • pbdot

      8
      0
      Votes
      8
      Posts
      18035
      Views

      I

      This one:

      sudo apt-get install libqt5serialport5 sudo apt-get install libqt5serialport5-dev

      Solved the Issue for me.

    • dmitrys99

      Unsolved EGLFS app with preinstalled Qt5
      QtonPi • raspberry pi 2 eglfs • • dmitrys99

      1
      0
      Votes
      1
      Posts
      830
      Views

      No one has replied

    • P

      Unsolved Raspberry Pi thread - pure virtual function called
      Installation and Deployment • thread raspberry pi 2 g++ bug • • PeterPan32

      5
      0
      Votes
      5
      Posts
      2862
      Views

      O

      @SGaist said:

      mkspecs/device/linux-rasp-pi2-g++

      Shouldn't it maybe be mkspecs/device/linux-rasp-pi-g++ (without the 2)?
      In his makefile there is this line:

      INCPATH = -I../threadtest -I. -I/usr/local/qt5/mkspecs/devices/linux-rasp-pi-g++
    • freaksdd

      Unsolved don't compile libeglfs.so with Qt5, Buildroot(02.2016), Rpi2
      Mobile and Embedded • buildroot raspberry pi 2 eglfs qt5 • • freaksdd

      1
      0
      Votes
      1
      Posts
      815
      Views

      No one has replied

    • ?

      Unsolved QtWebEngine build with errors
      Installation and Deployment • qtwebengine build error install raspberry eglfs raspberry pi 2 • • A Former User

      2
      0
      Votes
      2
      Posts
      1108
      Views

      M

      Old post but I had the same error; I had to build qtdeclarative BEFORE qwebchannel to solve this error.

    • ?

      Unsolved Cross Compile Qtwebengine for Raspberry Pi 2
      General and Desktop • qtwebengine raspberry eglfs raspberry pi 2 cross-compile qt5.6.0 build • • A Former User

      6
      0
      Votes
      6
      Posts
      4521
      Views

      F

      @Zevero I had the same problem, is there a solution for the mouse click that doesn't work in the web pages.

    • Skalli84

      Unsolved Cross compile Qt 5.5 on Windows 7 error missing <X11/Xutil.h.
      QtonPi • windows 7 64 bi raspberry pi 2 cross compile qt5.5.1 qt 5.6.0 • • Skalli84

      1
      0
      Votes
      1
      Posts
      1050
      Views

      No one has replied

    • bytesandbolts

      Solved Raspberry Pi2 running Buildroot with QT5 Set screen resolution
      QtonPi • raspberry pi raspberry pi 2 buildroot qt5 qt quick • • bytesandbolts

      2
      0
      Votes
      2
      Posts
      3532
      Views

      bytesandbolts

      Realised buildroot hadn't copied over a config.txt to the boot partition of the SD card. Copied across a minimal config and set configured a few arguments as stated in this thread.

      hdmi_ignore_edid=0xa5000080
      hdmi_group=1
      hdmi_mode=16

      That forced the RPi into 1080p mode and now my QT app is displaying correctly at 1920x1080.

    • cxam

      Solved Sincronize Local Database When Cross-Compiling?
      General and Desktop • cross compile raspberry eglfs raspberry pi 2 sqlite database • • cxam

      7
      0
      Votes
      7
      Posts
      1815
      Views

      cxam

      @Wieland Yes, that seems a better idea, I'll do that, thanks for your help :)

    • cxam

      Solved Font changes not aplying
      General and Desktop • font eglfs rpi2 raspberry pi 2 • • cxam

      16
      0
      Votes
      16
      Posts
      5284
      Views

      cxam

      @mrjj Yes, What I did was

      QFontDatabase::addApplicationFont("/usr/share/fonts/truetype/Open_Sans/OpenSans-Regular.ttf");

      and then select "Open Sans" on the QtDesigner

    • cxam

      Unsolved Run: Command Not Found (Cross Compiling EGLFS Raspberry Pi2)
      Mobile and Embedded • raspberry pi raspberry pi 2 raspberry eglfs eglfs rpi2 eglfs • • cxam

      11
      0
      Votes
      11
      Posts
      3603
      Views

      cxam

      @SGaist Indeed :)

    • scorpion

      Unsolved Qt Animated gif not working properly in raspberry pi
      Mobile and Embedded • raspberry pi 2 qtquick • • scorpion

      2
      0
      Votes
      2
      Posts
      830
      Views

      SGaist

      Hi,

      Please don't post the exact same question in multiple sub-forum. One is enough.

      Duplicate

      Closing this one

    • scorpion

      Unsolved Qt Animated gif not working properly in raspberry pi
      QtonPi • qt 5.4.1 raspberry pi 2 animations • • scorpion

      4
      0
      Votes
      4
      Posts
      1697
      Views

      sankarapandiyan

      https://forum.qt.io/post/561514 Please Solve this bug also related to this

    • Gulululu

      Unsolved Help i meet a problem with qt in raspberry pi 2
      General and Desktop • compile-error raspberry pi 2 help • • Gulululu

      2
      0
      Votes
      2
      Posts
      673
      Views

      SGaist

      Hi and welcome to devnet,

      Qt 4.6.7 ? Looks pretty outdated, IIRC you should have at least a Qt 4.8 version available.

      Are you compiling directly on the Pi ?

    • cxam

      Unsolved How to run Qt Linux compiled applications on RaspbianMinimal (RaspberryPi2) ?
      QtonPi • raspberry pi 2 compile linux run x11 • • cxam

      2
      0
      Votes
      2
      Posts
      1033
      Views

      SGaist

      Hi,

      Did you compile your application with your desktop Qt and then copied it over the RPi2 ?