Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. raspberry
    Log in to post

    • UNSOLVED Qt Creator rpath-link
      Italian • qt creator qt6 windows 10 raspberry crosscompile • • Gio26  

      1
      0
      Votes
      1
      Posts
      143
      Views

      No one has replied

    • SOLVED Qt 6.2.4 Cross-Compile Windows Raspberry ARMV8
      Installation and Deployment • cross compile windows 10 raspberry qt6.2 armv8 • • Gio26  

      5
      0
      Votes
      5
      Posts
      314
      Views

      Thanks for the reply, But I see a problem like this : -- Configuring done CMake Error at cmake/FindWrapSystemHarfbuzz.cmake:56 (target_link_libraries): The link interface of target "WrapSystemHarfbuzz::WrapSystemHarfbuzz" contains: PkgConfig::PC_HARFBUZZ but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. Call Stack (most recent call first): cmake/QtFindPackageHelpers.cmake:130 (find_package) src/gui/configure.cmake:41 (qt_find_package) cmake/QtFeature.cmake:573 (include) src/CMakeLists.txt:12 (qt_feature_evaluate_features) -- Generating done CMake Warning: Do you have any idea about it ? This can be related with your problem ?
    • SOLVED adding qtimer with wiringPiISR
      Mobile and Embedded • raspberry threads cross-compiling timer wiringpi • • amina  

      12
      0
      Votes
      12
      Posts
      634
      Views

      @amina I posted this in an other forum because it has been a while that I am stuck and it has to be fixed .. I am going to share the solution it may help someone https://stackoverflow.com/questions/66869600/timer-couldnt-work-with-wiringpiisr-qtquick-application/66873812?noredirect=1#comment118230663_66873812 static instances of QObject are also not supported so the instance vitesse should be created after QApplication. this will fix the problem : static void isrInput_vitesse(); static Capteur_Input *vitesse = nullptr; static void isrInput_vitesse() { if(!vitesse) //not initialized yet return; QMetaObject::invokeMethod( vitesse, "isrCallback", Qt::QueuedConnection ); //or blockingQueue if you need to handle it directly in Qt way. } and in the main fucntion int main(int argc, char *argv[]) { QApplication a(argc, argv); //..... your main application body vitesse = new Capteur_Input(Pin_vitesse,PUD_OFF,INT_EDGE_RISING,isrInput_vitesse); ctx->setContextProperty("vitesse", vitesse); //... } the function isrCallback should be a slot
    • SOLVED RPi 4 Qt Creator 4.9.1 "No valid kits found"
      QtonPi • raspberry kits creator 4.9.1 • • markd  

      6
      0
      Votes
      6
      Posts
      1266
      Views

      @jsulm Thank you! That seems to have resolved my problem.
    • UNSOLVED How to get rid of latency on touchscreen press events?
      Mobile and Embedded • raspberry touchscreen evdev events • • rrd0  

      1
      0
      Votes
      1
      Posts
      472
      Views

      No one has replied

    • UNSOLVED Optimizing CPU/RAM usage when playing video with Qt on Raspberry
      Mobile and Embedded • video gstreamer raspberry optimization • • etiennedm  

      1
      0
      Votes
      1
      Posts
      386
      Views

      No one has replied

    • UNSOLVED Qt 5.10.1 EGLFS libinput Touchscreen rotation
      Mobile and Embedded • eglfs raspberry touchscreen libinput • • chtioub  

      5
      0
      Votes
      5
      Posts
      2739
      Views

      Hi, Well, evdevtouch plugin seem to be completely buggy. The rotation woks very well but afin 1 to 10 secondes, the touch does not woks anymore. Even with example programs. I have this information : TouchPointPressed without previous release event QQuickEventPoint(accepted:false state:Pressed scenePos:QPointF(249.631,798.957) id:2000002 timeHeld:0) I have to reset the application to work. Is there any solution to workaround this bug or a solution with libinput ?
    • UNSOLVED Cross compiling Qt Everywhere Raspberry Pi
      Mobile and Embedded • raspberry cross-compiling raspberry eglfs raspbian • • herionoid  

      2
      0
      Votes
      2
      Posts
      826
      Views

      Did you try the this https://bugreports.qt.io/browse/QTBUG-62216 For the pi2 configuration the change should be something like this: -QMAKE_LIBS_EGL = -lEGL -lGLESv2 -QMAKE_LIBS_OPENVG = -lEGL -lOpenVG -lGLESv2 +QMAKE_LIBS_EGL = -lbrcmEGL -lbrcmGLESv2 +QMAKE_LIBS_OPENGL_ES2 = -lbrcmEGL -lbrcmGLESv2 +QMAKE_LIBS_OPENVG = -lbrcmEGL -lbrcmOpenVG -lbrcmGLESv2
    • UNSOLVED Cross compile Qt 5.5.0 for raspberry CM3 lite
      General and Desktop • raspberry coss-compile cm3 • • Franckynos  

      4
      0
      Votes
      4
      Posts
      911
      Views

      Hi You can also cheat and just download it ;) http://www.qtrpi.com/home (only 5.7 but might not matter if you just want to test it out)
    • UNSOLVED Builing on Pi3 @ Raspbian Stretch fails
      Installation and Deployment • raspberry pi 3 raspberry raspbian • • Vitalic66  

      4
      0
      Votes
      4
      Posts
      1770
      Views

      Ok, I've missed that article. From the looks of it, you seem to be currently essentially interested in building qtbase, so you could call configure directly in it to shorten the list of options. Intuitively, I'd avoid the reduce-exports and sysroot parameters.
    • SOLVED Freetype2-dev package not found when crosscompiling
      Mobile and Embedded • qmake raspberry crosscompile freetype • • ben80  

      4
      0
      Votes
      4
      Posts
      2857
      Views

      Ok, i found the solution. I had to recompile qmake with pkg-config enabled.
    • UNSOLVED QDateTimeEdit.calendarPopup() freeze app on raspbian
      General and Desktop • raspberry calendar qdatetimeedit • • gatz  

      1
      0
      Votes
      1
      Posts
      515
      Views

      No one has replied

    • UNSOLVED Touchscreen input rotation using QEvent (evenfilter) - raspberry
      Mobile and Embedded • raspberry touchscreen qevent eventfilter linuxfb • • etiennedm  

      2
      0
      Votes
      2
      Posts
      1229
      Views

      @etiennedm Why don't you just use layouts?
    • UNSOLVED Keyboard disabled
      Mobile and Embedded • eglfs keyboard raspberry • • Mark81  

      1
      0
      Votes
      1
      Posts
      585
      Views

      No one has replied

    • UNSOLVED Qt 4 Designer won't let me dran or drop anything on a window :/
      Mobile and Embedded • qt designer raspberry • • AdmiralCrunch  

      4
      0
      Votes
      4
      Posts
      1159
      Views

      Depending on you Pi distribution, the Qt Creator version might be a bit older but that should prevent you from working with it with a more recent version of Qt.
    • UNSOLVED Setup environment to compile for Raspberry
      Mobile and Embedded • configure raspberry • • helenebro  

      14
      0
      Votes
      14
      Posts
      4929
      Views

      I didn't try. 5.4.1 is enough for me
    • UNSOLVED pcap.h on a raspberry using qt with cross compil
      Mobile and Embedded • qtcreator cross compile raspberry pcap pcap.h • • jackyPITCH  

      4
      0
      Votes
      4
      Posts
      1660
      Views

      Did you do that on your Desktop machine ?
    • SOLVED RaspberryPi2EGLFS cross compile Error <stdio.h> no such file or directory
      Installation and Deployment • eglfs raspberry raspberry eglfs stdio.h raspberrypi2 • • daywong  

      4
      0
      Votes
      4
      Posts
      4368
      Views

      @sneubert said: ~/raspi/sysroot/usr/include Thats correct. Tried to re-run rsync, stdio.h is there finally.
    • UNSOLVED QT Quick Application on Raspberry Pi
      QML and Qt Quick • qt quick eglfs raspberry xcb pi 2 • • moogle42  

      1
      0
      Votes
      1
      Posts
      1112
      Views

      No one has replied

    • UNSOLVED QT 5.5 EGLFS performance on Raspberry PI 2
      Mobile and Embedded • qt5 eglfs raspberry • • daneilg  

      3
      0
      Votes
      3
      Posts
      2510
      Views

      Thank you for the answer:) In the meanttime I got the Raspebrry Pi 7" Display (800x480) and the Widgest's performance on eglfs seems a lot better. - it looks like the display size ( or the display interface ??) plays a major role. Basically I have an QT4 QWidgets app that I want to migrate to Qt5 / Declarative . As a first step , I want to replace the frontend navigation UI with some QML based component. The only way to achieve this is on the actual test device is eglfs but it needs to support the QWidgets well enough . The app contains some data aquisition&visualization (QWT) part, that is very performance sensitive, and I actually hoped that eglfs would increase performance ....and this is why I was pretty dissapointed with the first tests restults. So I am really interesed about the limitations and the bigger overview. Is it possible on EGLFS to embbed a QML scene in a QWidget? Is a better Wayland better platform ( for rpi2 that is) for what I want to achieve?
    • SOLVED Qt Apps look weird on RasPi
      QtonPi • raspberry • • Ronen K  

      10
      0
      Votes
      10
      Posts
      2804
      Views

      You can also pass the style as a parameter to your application when you start it. Indeed, the Windows style plugin being compiled is a bit surprising
    • UNSOLVED Qt ftp on raspberry ...
      QtonPi • raspberry ftp jessie networkaccessma • • modjo756  

      5
      0
      Votes
      5
      Posts
      1981
      Views

      Perhaps it's the problem ! Thank's for your time lucas and your work !
    • UNSOLVED QtSerialPort with /dev/spidev
      QtonPi • qserialport raspberry spi • • pmendl  

      5
      0
      Votes
      5
      Posts
      4965
      Views

      Getting back to document conclusions of my research on best practice of using RaspiComm RS-485 under Qt for anybody, who finds this thread useful (I expect many of it is valid for RS-232 on same board as well, did not test myself): Do not try to implement communication with MAX3140 UART chip yourself (maybe except of asm based implementation, what is however most probably unnecessary exertion). I succeeded to implement it based on kernel /dev/spidev0.0 only to find out that even this partially system driver supported solution is too slow for even 19 200 Bd speed (loosing about 5 characters on one received). I myself feared about RaspiComm RS-485 driver /dev/ttyRPC0 based on some forums complaints and not clear versioning, however found out, that the forum thread was heavy outdated. These official installation instructions worked like a charm and the resulting driver worked out-of-box for my latest Raspbian Wheezy (4.1.7+ #817). So I strongly recommend to take this approach. QSerialPort class has constructor with signature QSerialPort(const QString &, QObject *), where QString may contain even device which is not included in the QList that QSerialPortInfo::availablePorts() returns. This works with no surprise. If one does not set anything than (eventually) baud speed, one gets standard 8 bit, 1 stop bit, no parity without any character translations, good old plain raw binary. So QSerialPort may be used with /dev/ttyRPC0 directly and easily. QSerialPort rpc0("/dev/ttyRPC0"); rpc0.write("Binary request\0even\xffcontaining weird\x03characters", length_of_binary); if(rpc0.waitForReadyRead(100)) // Enough long time in miliseconds QByteArray data = rpc0.readAll(); // You may have to wait/read repetitively in loop // and merge data on higher link speeds Hardware of RaspiComm uses RTS pin to select in/out direction of data. CTS is kept active permanently by wiring, so using default use RTS/CTS mode works properly with no inappropriate blocking. That's all you should need, so enjoy your communication.
    • SOLVED Qt cross compile for Raspbian Jessie
      QtonPi • cross compile raspberry jessie • • vish  

      23
      0
      Votes
      23
      Posts
      7217
      Views

      Well, that was a good idea ! You're welcome ! Since you have it working now, please mark the thread as solved using the "Topic Tool" button so other forum users may know a solution has been found :)
    • UNSOLVED Control a Rasberry Pi by a Mobile.
      Mobile and Embedded • qml raspberry qt mobile • • Charlie_Hdz  

      5
      0
      Votes
      5
      Posts
      1312
      Views

      @SGaist I got it, As a mention I'll make some tutorial to these process beacuse in the Web is very difficult to search something good. Thank You SGaist
    • Need help with segfault in crosscompiled application for Raspberry Pi
      Installation and Deployment • c++ cross compile raspberry pi raspberry cross-compile crosscompile gnu • • pmendl  

      2
      0
      Votes
      2
      Posts
      2354
      Views

      Hi, I have been starting development using QT a few weeks ago and encountered a similar problem. Everything was fine, compiling the apps and deploying to the PI using QT Creator without issues. But as soon as I started the app (or wanted to debug) the app died with a Segfault. After some hours, I noticed that libts on Jessie has been quite old. I re-installed Jessie-Lite and compiled libts on my own, directly from the GitHub repository here: lbts GitHub Repo . Afterwards I simply followed the tutorial to cross-compile QT5 like documented in this tutorial: RaspberryPi2EGLFS Basically I followed each step within the tutorial and the only thing I did not do, was to install any libts related packages (just check the apt-get install commands in the tutorial and don't install the libts related packages). I know, the thread is quite old, but maybe someone will look it up.
    • Raspberry PI + QT5-4.2.1+ EGLFS plugin. the mouse is very leggy.(slow)
      Mobile and Embedded • raspberry mouse speed egfls • • Alex.v  

      1
      0
      Votes
      1
      Posts
      903
      Views

      No one has replied

    • MSSQL and stored procedure
      General and Desktop • raspberry mssql • • savior  

      1
      0
      Votes
      1
      Posts
      1754
      Views

      No one has replied

    • Qt app in eglfs losing input after /dev/input is changed
      Mobile and Embedded • qml raspberry pi raspberry input raspberry eglfs • • 10robinho  

      2
      0
      Votes
      2
      Posts
      996
      Views

      Hi Have you find any solution for this problem ?
    • Raspberry Pi
      Mobile and Embedded • raspberry pi raspberry boot2qt • • skammers  

      3
      0
      Votes
      3
      Posts
      1285
      Views

      ... but if you want to start with something quickly you might have a look at this: https://github.com/pbouda/buildroot-qt-dev I use it to boot into Qt applications. Peter
    • Build Qt creator 3.4 on pi 2 [RESOLVED]
      QtonPi • qt creator qt5.5 raspberry building qt • • modjo756  

      17
      0
      Votes
      17
      Posts
      8758
      Views

      @FlorianB I'm trying to install qtcreator on a system that I don't have admin rights on. so: Install qt from source as I need the latest Install qtcreator Works fine, but as mentioned in your posts I manually did make install in qt5/qttools/src/designer/src/ lib, components, designer folder. Is there something else that I'm missing. I install qt to a prefix and set it as path. Installing qtcreator, qmake step works fine. I get the error (This is with current master Oct 7 2015): In file included from ../../../../qt-creator/src/libs/utils/shellcommand.cpp:31:0: ../../../../qt-creator/src/libs/utils/shellcommand.h:118:19: error: expected ‘;’ at end of member declaration ../../../../qt-creator/src/libs/utils/shellcommand.h:118:21: error: ‘override’ does not name a type ../../../../qt-creator/src/libs/utils/shellcommand.cpp:90:84: sorry, unimplemented: non-static data member initializers ../../../../qt-creator/src/libs/utils/shellcommand.cpp:90:84: error: in-class initialization of static data member ‘m_proxyFactory’ of non-literal type ../../../../qt-creator/src/libs/utils/shellcommand.cpp: In member function ‘virtual Utils::SynchronousProcessResponse Utils::ShellCommand::runCommand(const Utils::FileName&, const QStringList&, int, const QString&, Utils::ExitCodeInterpreter*)’: ../../../../qt-creator/src/libs/utils/shellcommand.cpp:338:42: error: ‘class Utils::Internal::ShellCommandPrivate’ has no member named ‘m_proxyFactory’ ../../../../qt-creator/src/libs/utils/shellcommand.cpp: In member function ‘Utils::SynchronousProcessResponse Utils::ShellCommand::runSynchronous(const Utils::FileName&, const QStringList&, int, const QString&, Utils::ExitCodeInterpreter*)’: ../../../../qt-creator/src/libs/utils/shellcommand.cpp:419:42: error: ‘class Utils::Internal::ShellCommandPrivate’ has no member named ‘m_proxyFactory’ ../../../../qt-creator/src/libs/utils/shellcommand.cpp: In member function ‘virtual bool Utils::ShellCommand::runFullySynchronous(const Utils::FileName&, const QStringList&, int, QByteArray*, QByteArray*, const QString&)’: ../../../../qt-creator/src/libs/utils/shellcommand.cpp:482:42: error: ‘class Utils::Internal::ShellCommandPrivate’ has no member named ‘m_proxyFactory’ ../../../../qt-creator/src/libs/utils/shellcommand.cpp: In member function ‘void Utils::ShellCommand::setOutputProxyFactory(const std::functionUtils::OutputProxy*()&)’: ../../../../qt-creator/src/libs/utils/shellcommand.cpp:547:8: error: ‘class Utils::Internal::ShellCommandPrivate’ has no member named ‘m_proxyFactory’ make[3]: *** [.obj/debug-shared/shellcommand.o] Error 1 make[3]: Leaving directory /nfs2/jain/qt-creator-build/src/libs/utils' make[2]: *** [sub-utils-make_first] Error 2 make[2]: Leaving directory/nfs2/jain/qt-creator-build/src/libs' make[1]: *** [sub-libs-make_first-ordered] Error 2 make[1]: Leaving directory `/nfs2/jain/qt-creator-build/src' make: *** [sub-src-make_first-ordered] Error 2
    • Universtal qt compiling bug "convert_RGB888_to_RGB32_neon...."
      Mobile and Embedded • build raspberry compile • • eriktheitalian  

      4
      0
      Votes
      4
      Posts
      2305
      Views

      config.txt ?
    • Raspberry+QT5+QT based web browser can use hw acceleration for page scrolling ?
      Mobile and Embedded • qt5 raspberry web browser gpu hw acceleration • • eriktheitalian  

      1
      0
      Votes
      1
      Posts
      843
      Views

      No one has replied

    • QtCreator + SDL same projects different targets(Debian and Raspberry)
      Tools • qtcreator cross compile raspberry cross platform pro file • • alkzx  

      2
      0
      Votes
      2
      Posts
      1063
      Views

      You can put the name of mkspec you are used for the given platform. I think for Raspberry it's something like linux-rasp-pi-g++. Open the mkspecs/devices folder in your Qt installation and check it out or open the Kits propertties page in Qt Creator and see which mkspec your kits are using.
    • QtCreator 3.3.x crashes during start-up on raspberry pi2 with Qt5.4.1
      Mobile and Embedded • raspberry • • neXus_rk  

      9
      0
      Votes
      9
      Posts
      4209
      Views

      @SGaist thank you
    • PyQt QtGui Error: Undefined Symbol
      Installation and Deployment • error installation raspberry • • happycat  

      2
      0
      Votes
      2
      Posts
      2111
      Views

      This problem has been resolved. Apparently, the libraries available in the distribution are not compatible with each other, or with installation of "sip" or "PyQt5". After installing the .deb file found at http://tinyurl.com/kza5uob and remaking the current stable versions of "sip" and "PyQt5" I was able to load and execute an application originally run on Fedora 19.
    • About raspberry pi cross compile ?
      Mobile and Embedded • cross compile raspberry • • sfarbac  

      17
      0
      Votes
      17
      Posts
      7566
      Views

      Just mount the Pi root file system before starting to work on your project
    • SOLVED Use of a control property causes [undefined]
      QML and Qt Quick • qtquick raspberry • • swegmann  

      2
      0
      Votes
      2
      Posts
      992
      Views

      For me this issue is resolved now by using the newest Qt Version (I used the 5.5.0 branch) on the Raspberry Pi. It looks like it might have also been related to other issues on the RaspberryPi like http://forum.qt.io/topic/50854/raspberry-pi-and-stackview/2 or https://bugreports.qt.io/browse/QTBUG-44295 since I was also using the StackView control.