Skip to content

QtonPi

QtonPi
405 Topics 2.3k Posts
  • QT 5.4 & Qtwayland

    6
    0 Votes
    6 Posts
    5k Views
    N

    Found it. For future viewers, on Debian-based systems the package one needs to install is waylandpp-dev. This will install all dev dependencies for Wayland.

  • 0 Votes
    3 Posts
    154 Views
    E

    Hi @jsulm, I'm not quite familiar with the build process since I'm quite new to this. I know this link is a Cross Compile tutorial for Raspberry pi 4B, what build configuration should I use instead for the Pi zero 2 w when calling configure? (with native build, considering the pi zero 2 is armv8, cortex-a53, and neon support)? thank you!

  • QtWayland Compilation error in RaspberryPI

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    S

    I encountered the same problem.

    Wayland-scanner client-header < /home/lsqtpi/raspi/qtsrc/qt-everywhere-src-5.13.2/qtwayland/config.tests/wayland_scanner/scanner-test.xml > wayland-scanner-test-client-protocol.h
    When I manually executed the above command from the console,
    it displayed a message to install the following library.

    sudo apt install libwayland-bin

  • I need help for my school project

    Unsolved
    3
    0 Votes
    3 Posts
    132 Views
    Pl45m4P

    @Marzonek

    I already replied to your topic here

  • How do I get PyQt5-QSql set up on Raspberry Pi

    Unsolved
    1
    0 Votes
    1 Posts
    160 Views
    No one has replied
  • In Java, you may convert a string to an array.

    Unsolved
    4
    0 Votes
    4 Posts
    763 Views
    H

    Non-static variable s caused incorrect accumulation of reversed characters. Overwriting value in the loop meant only the last reversed string was printed. Here is the corrected version reverses each string in the array in-place and prints the entire reversed array.

    public class ReverseStringArray { public static void main(String[] args) { String[] array = {"ABCD", "EFGH", "IJKL", "MNOP"}; for (int i = 0; i < array.length / 2; i++) { String temp = array[i]; array[i] = array[array.length - 1 - i]; array[array.length - 1 - i] = temp; } for (String str : array) { System.out.print(str + " "); } } }

    You can find the more details on this link where I shared.

  • 0 Votes
    2 Posts
    174 Views
    sbelaS

    Maybe completely unrelated, but I had the some similar problem, that my application is slowed down after a time. For me it was that I have debug messages with printf and with libfmt fmt::print and when I run my application without watching the output in ssh or same way in a terminal the application slowed down. I had to start my application with redirection of the outputs to /dev/null and the slow down went away. So for me worked the 2&>1 >/dev/null added in the at the startup shell script.

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    52 Views
    No one has replied
  • RPI4 qt6 Cross "libQt6Widgets.so.6 not found"

    Solved
    2
    0 Votes
    2 Posts
    2k Views
    B

    There was a wrong path set up in the environment config
    feb6b6ab-206d-43be-9db9-ac3593a75135-image.png

  • 0 Votes
    2 Posts
    357 Views
    SGaistS

    Hi and welcome to devnet,

    Please take the time to reduce your code to the minimal amount required to trigger your situation. Posting your whole project like that without any explanation about it does not really motivate to go through it.

    That said, your back and forth logic looks wrong, you re-create new widgets all the time rather than rally switching between them. That could be one of the issue as you might be hogging your device memory and then it has to start using swap which is way slower than RAM.

    On a side note, please use proper casing for your class names. Having class all lower case makes your code way harder understand and reason about. Python has style guidelines that you really should follow to make your life and the life of the people checking your code easier.

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • 0 Votes
    2 Posts
    369 Views
    jsulmJ

    @SirBillyBobJoe Please stop posting same question more than once!

    Closing this one...

  • 0 Votes
    1 Posts
    279 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    10 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    39 Views
    No one has replied
  • E: Unable to find a source package for qt4-x11

    Solved
    9
    0 Votes
    9 Posts
    3k Views
    Pl45m4P

    @zy2nii said in E: Unable to find a source package for qt4-x11:

    plz I have the same problem

    With Qt4?! Why you want to use Qt4?

  • New install of qt5 not sure its working and no examples

    Unsolved
    4
    0 Votes
    4 Posts
    612 Views
    SGaistS

    Well, that's your main issue: you just installed the tools but none of the Qt development packages.

  • Boot 2 QT V. 6.3.1 raspberrypi 4

    Unsolved
    9
    0 Votes
    9 Posts
    2k Views
    monettesM

    I also have the same error when using a re-terminal device. But I'm still able to deploy my app with no issues. You should be able to deploy your app on your rpi board with base64 missing. If your app fails to launch, ssh to your board and launch the app manually from CLI. You will get the error messages.

  • White screen with cursor on Rpi4 when deploy QML demo app

    Solved
    5
    0 Votes
    5 Posts
    705 Views
    K

    I compile app without
    Window {
    width: 640
    height: 480
    visible: true
    }