Skip to content

QtonPi

QtonPi
405 Topics 2.3k Posts
  • Frameless QMessageBox for fullscreen application

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    SGaistS

    The window manager is free to ignore whatever it wants to ignore. As the name suggests these flags are hints.

    One thing you should check is whether you can have a kiosk mode enabled so that you can have some sort of single application interface.

  • 0 Votes
    11 Posts
    6k Views
    jsulmJ

    @barath-19-2 I asked before: "And it looks like you're not doing cross-compalation?"
    So, are you doing cross-compilation?
    The wiringPi library is apparently not compatible with your platform.
    If you build on your PC/Laptop for Raspberry Pi you have to do cross compilation as Raspberry Pi is ARM and not x86.
    So, did you set up a cross compilation environment?

  • No sound from raspi3 3.5jack, using QtMediaPlayer

    Solved
    11
    0 Votes
    11 Posts
    4k Views
    S

    Hi, just found something that worked for me : https://raspberrypi.stackexchange.com/a/98952

    Installing gstreamer1.0-pulseaudio did the trick.

  • DRM/KMS configuration for Raspberry Pi 4

    Unsolved
    2
    1 Votes
    2 Posts
    4k Views
    M

    Does this mean I should not link against the libs in /opt/vc (the broadcom libraries)? If not, what do I need to do (see https://forum.qt.io/topic/108730/running-a-qtquick-app-on-raspberrypi-4-problem-rendering-app-to-screen/3 )

    Regarding your eglfs question: Maybe try eglfs.json like suggested here
    https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=244984

  • QT Creator on raspberry pi4 (4GB RAM).

    Solved
    6
    0 Votes
    6 Posts
    12k Views
    S

    @pirates21 how have you done it , could you share the steps ? i am thinking about to get a RPi 4 and do what you have done as well , especially the multimedia part , any hacky steps involved to use it on RPi 4 ?
    thank you .

  • 0 Votes
    4 Posts
    2k Views
    sankarapandiyanS

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

  • Install Qt 5.13.0 on Raspberry Pi 3

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    Pablo J. RoginaP

    @camjod said in Install Qt 5.13.0 on Raspberry Pi 3:

    gcc-linaro-arm-linux-gnueabihf-raspbian-x64

    Could you please state the OS you have?

  • Mapbox on Raspberry Pi4

    Unsolved
    1
    0 Votes
    1 Posts
    507 Views
    No one has replied
  • 0 Votes
    4 Posts
    2k Views
    A
    test config.qtbase_gui.tests.opengles32 succeeded looking for library openvg Trying source 0 (type pkgConfig) of library openvg ... + PKG_CONFIG_SYSROOT_DIR=/home/andreia/raspi/sysroot PKG_CONFIG_LIBDIR=/home/andreia/raspi/sysroot/usr/lib/pkgconfig:/home/andreia/raspi/sysroot/usr/share/pkgconfig:/home/andreia/raspi/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig /usr/bin/pkg-config --exists --silence-errors vg pkg-config did not find package. => source produced no result. Trying source 1 (type makeSpec) of library openvg ... None of [libOpenVG.so libOpenVG.a] found in [] and global paths. => source produced no result. test config.qtbase_gui.libraries.openvg FAILED executing config test qpa_default_platform test config.qtbase_gui.tests.qpa_default_platform gave result eglfs looking for library harfbuzz Trying source 0 (type inline) of library harfbuzz ... + cd /home/andreia/raspi/qt-everywhere-src-5.13.0/config.tests/harfbuzz && PKG_CONFIG_SYSROOT_DIR=/home/andreia/raspi/sysroot PKG_CONFIG_LIBDIR=/home/andreia/raspi/sysroot/usr/lib/pkgconfig:/home/andreia/raspi/sysroot/usr/share/pkgconfig:/home/andreia/raspi/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig /home/andreia/raspi/qt-everywhere-src-5.13.0/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" -early "CONFIG += cross_compile" 'QMAKE_USE += harfbuzz' 'QMAKE_LIBS_HARFBUZZ = /home/andreia/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libharfbuzz.so' /home/andreia/raspi/qt-everywhere-src-5.13.0/config.tests/harfbuzz + cd /home/andreia/raspi/qt-everywhere-src-5.13.0/config.tests/harfbuzz && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make > rm -f main.o > rm -f *~ core *.core > arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -w -fPIC -I. -I/home/andreia/raspi/qt-everywhere-src-5.13.0/qtbase/src/3rdparty/harfbuzz-ng/include -I/home/andreia/raspi/qt-everywhere-src-5.13.0/qtbase/mkspecs/devices/linux-rasp-pi3-vc4-g++ -o main.o main.cpp > arm-linux-gnueabihf-g++ -mfloat-abi=hard -Wl,-O1 -Wl,-rpath-link,/home/andreia/raspi/sysroot/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/home/andreia/raspi/sysroot/lib/arm-linux-gnueabihf -o harfbuzz main.o /home/andreia/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libharfbuzz.so > /home/andreia/raspi/sysroot/lib/arm-linux-gnueabihf/libpthread.so.0: undefined reference to `__pause_nocancel@GLIBC_PRIVATE' > /home/andreia/raspi/sysroot/lib/arm-linux-gnueabihf/libpthread.so.0: undefined reference to `__nanosleep_nocancel@GLIBC_PRIVATE' > /home/andreia/raspi/sysroot/lib/arm-linux-gnueabihf/libpthread.so.0: undefined reference to `__open64_nocancel@GLIBC_PRIVATE' > /home/andreia/raspi/sysroot/lib/arm-linux-gnueabihf/libpthread.so.0: undefined reference to `__libc_fcntl64@GLIBC_PRIVATE' > /home/andreia/raspi/sysroot/lib/arm-linux-gnueabihf/libpthread.so.0: undefined reference to `__write_nocancel@GLIBC_PRIVATE' > /home/andreia/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libglib-2.0.so.0: undefined reference to `fcntl64@GLIBC_2.28' > collect2: error: ld returned 1 exit status > Makefile:67: recipe for target 'harfbuzz' failed > make: *** [harfbuzz] Error 1 => source failed verification. test config.qtbase_gui.libraries.harfbuzz FAILED
  • Mapbox on ARM not working

    Unsolved
    4
    0 Votes
    4 Posts
    890 Views
    MonoFoxM

    @bozhi
    Did You resolve this problem? I have blank screen too. I tried to compile Qt with GCC 9.1 with no succes, mapboxGL module is still not installed..

  • Beginner Guide to add/setup compiler for QT on RPI3

    Unsolved
    2
    0 Votes
    2 Posts
    902 Views
    Pablo J. RoginaP

    @ChristianRPI said in Beginner Guide to add/setup compiler for QT on RPI3:

    not cross compiling

    Just in case, is there a compelling reason for that?

    I just installed it

    Could you please describe how you installed Qt Creator on your RPi device? What OS are you running on such device? Have you installed Qt 5 on it? If so, how? Have you installed build tools (i.e. gcc/g++, std lib, etc) on your device?
  • Cross-compiling RPi application using Qt Creator

    Unsolved
    30
    0 Votes
    30 Posts
    4k Views
    Pavel_47P

    @sierdzio said in Cross-compiling RPi application using Qt Creator:

    Configure and make spew out files in many other places.

    I removed source folder and copied the fresh one.
    Then I created new folder fro where I executed configure.
    This new attempt also failed with similar error message:

    Command line: -release -opengl es2 -device linux-rasp-pi3-vc4-g++ -device-option CROSS_COMPILE=/home/pyo/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot /home/pyo/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix /home/pyo/raspi/qt5pi -hostprefix /home/pyo/raspi/qt5 -no-use-gold-linker -v Info: creating stash file /home/pyo/raspi/qt5/.qmake.stash This is the Qt Open Source Edition. You have already accepted the terms of the Open Source license. Running configuration tests... Checking for machine tuple... + /home/pyo/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -dumpmachine > arm-linux-gnueabihf test config.qtbase.tests.machineTuple succeeded Checking for valid makespec... + cd /home/pyo/raspi/qt5/config.tests/verifyspec && /home/pyo/raspi/qt5/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/home/pyo/raspi/sysroot" "QMAKE_CXXFLAGS += --sysroot=/home/pyo/raspi/sysroot" "QMAKE_LFLAGS += --sysroot=/home/pyo/raspi/sysroot" -early "CONFIG += cross_compile" /home/pyo/raspi/qt-everywhere-src-5.12.3/qtbase/config.tests/verifyspec > Info: creating stash file /home/pyo/raspi/qt5/config.tests/.qmake.stash + cd /home/pyo/raspi/qt5/config.tests/verifyspec && MAKEFLAGS= /usr/bin/make > /home/pyo/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/home/pyo/raspi/sysroot -O2 -std=gnu++11 -w -fPIC -I/home/pyo/raspi/qt-everywhere-src-5.12.3/qtbase/config.tests/verifyspec -I. -I/home/pyo/raspi/qt-everywhere-src-5.12.3/qtbase/mkspecs/devices/linux-rasp-pi3-vc4-g++ -o verifyspec.o /home/pyo/raspi/qt-everywhere-src-5.12.3/qtbase/config.tests/verifyspec/verifyspec.cpp > /home/pyo/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/pyo/raspi/sysroot -Wl,-O1 -Wl,-rpath-link,/home/pyo/raspi/sysroot/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/home/pyo/raspi/sysroot/lib/arm-linux-gnueabihf -o verifyspec verifyspec.o > /home/pyo/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld:/home/pyo/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/lib/libstdc++.so: file format not recognized; treating as linker script > /home/pyo/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld:/home/pyo/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/lib/libstdc++.so:1: syntax error > collect2: error: ld returned 1 exit status > make: *** [verifyspec] Error 1 Note: Also available for Linux: linux-clang linux-icc ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.
  • 0 Votes
    6 Posts
    3k Views
    B

    @expressw said in native build qt5.7.1 on raspberry pi get errors: /usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: undefined reference to `QV8Engine::toVariant:

    Gui -lQt5Qml -lQt5Network -lQt5Positioning -lQt5Core -Wl,-rpath-link,/opt/vc/lib -lGLESv2 -lpthread -lclip2tri -L/home/pi/download/qt-everywhere-opensource-src-5.7.1/qtlocation/lib -lpoly2tri -lclipper
    /usr/bin/ld: cannot find -lclip2tri
    /usr/bin/ld: cannot find -lpoly2tri
    /usr/bin/ld: cannot find -lclipper
    collect2: error: ld returned 1 exit status
    Makefile:273: recipe for target '../../../qml/QtLocation/libdeclarative_location.so' failed
    make[4]: *** [../../../qml/QtLocation/libdeclarative_location.so] Error 1
    make[4]: Leaving directory '/home/pi/download/qt-ev

    I have the same problem:
    moc_qgeocoordinate.o .obj/moc_qgeopositioninfosource.o .obj/moc_qgeosatelliteinfosource.o .obj/moc_qnmeapositioninfosource.o .obj/moc_qgeopolygon.o .obj/moc_qgeopath.o .obj/moc_qnmeapositioninfosource_p.o .obj/moc_qdeclarativegeoaddress_p.o .obj/moc_qdeclarativegeolocation_p.o .obj/moc_qgeocoordinateobject_p.o -L/home/pi/build/qtbase/lib -lQt5Core -lpthread -L/home/pi/build/qtlocation/lib -lclip2tri -lpoly2tri -lclipper
    /usr/bin/ld.gold: error: no se puede encontrar -lclip2tri
    /usr/bin/ld.gold: error: no se puede encontrar -lpoly2tri
    /usr/bin/ld.gold: error: no se puede encontrar -lclipper

  • Configure QtCreator in RPi3

    Unsolved
    20
    0 Votes
    20 Posts
    3k Views
    SGaistS

    Did you check what your Kits are using as mkspecs ?

  • Boot2Qt - static IP address on wlan0

    Unsolved
    1
    0 Votes
    1 Posts
    813 Views
    No one has replied
  • SwipeView animation sluggish on Odroid EGLFS platform

    Unsolved
    1
    0 Votes
    1 Posts
    732 Views
    No one has replied
  • Weather Info

    Unsolved
    8
    0 Votes
    8 Posts
    2k Views
    E

    can i show the info in webview? load(url) doesnt work.

  • Windows IoT

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    C

    I am grateful for your reply.
    I was well acquainted.
    Thank you.

  • Qt for Raspberry PI

    Unsolved
    3
    0 Votes
    3 Posts
    860 Views
    C

    Thank you for your reply.

  • 0 Votes
    3 Posts
    674 Views
    aha_1980A

    @robopoulos

    [Cxx flags are for C++ I assume, so that is why they do not affect C ?]

    Correct.