Skip to content
  • 0 Votes
    10 Posts
    423 Views
    jsulmJ

    @MG33 I already told you what you're doing wrong. Just read it and act accordingly instead of repeating same information again and again.
    Accumulate data in a buffer until you got a complete package and then parse it and update your UI.

  • 0 Votes
    1 Posts
    248 Views
    No one has replied
  • 0 Votes
    2 Posts
    320 Views
    JoeCFDJ

    @DrEmbo said in QNetworkInterface::addressEntries() returns empty list:

    allInterfaces

    this works for me with Qt 5.15.2 on Linux.

    QList< QNetworkInterface > network_interfaces = QNetworkInterface::allInterfaces(); for( auto interface : network_interfaces ) { if ( interface.flags().testFlag( QNetworkInterface::IsRunning ) ) { auto address_entries = interface.addressEntries(); for ( auto address_entry : address_entries ) { .................. } } }
  • 0 Votes
    1 Posts
    267 Views
    No one has replied
  • 0 Votes
    4 Posts
    2k Views
    Pablo J. RoginaP

    @cosmonaut65 said in EGLFS Full Screen issue on Raspberry Pi 4 Desktop:

    For the time being, booting into the CLI will have to do I guess

    is your issue solved then? if so please don't forget to mark your post as such. Thanks.

  • 0 Votes
    3 Posts
    3k Views
    A

    Hi author here,

    Now there's a dedicated guide available to follow for cross-compiling latest QT for any Raspberry Pi Model or Version with mentioned GCC toolchains:

    https://github.com/abhiTronix/raspberry-pi-cross-compilers/blob/master/QT_build_instructions.md

  • 0 Votes
    7 Posts
    2k Views
    M

    You can use this app template:
    https://marketplace.qt.io/products/qt-lgpl-app-template
    Offers you a relink mechanism, also for embedded devices:
    you can release a redistributable project (your application inside a compiled static library, in a qt .pro project)
    and you must release your SDK (sysroot and compiler).
    If you use Static Qt, user can build his own Qt and rebuild your closed source application.

  • 0 Votes
    8 Posts
    1k Views
    K

    @sierdzio Ok, i see, I'm using open source. Maybe I need to change a deviece or try to use qwidget. Thanks for your patience.

  • 0 Votes
    4 Posts
    604 Views
    SGaistS

    Then one way would be to use QWebChannel.

  • 0 Votes
    7 Posts
    2k Views
    H

    @sierdzio No problem! Will keep on searching. Once again, thanks for your help!

    Best wishes,
    Henderson

  • 0 Votes
    1 Posts
    399 Views
    No one has replied
  • 0 Votes
    4 Posts
    1k Views
    aha_1980A

    @adahl

    However when I tried to run it I get a complaint the file samba_conn_serial.dll could not be loaded, although the error message showed the complete path to that file and it was actually at that place. At first sight this seems very strange to me.

    Such errors could mean, that the DLL has own dependencies that are not satisfied. Dependency Walker is the tool of choice to debug that.

    Regardd

  • 0 Votes
    4 Posts
    1k Views
    yellowlemontree2014Y

    @Eoin what about work visa, will you take care of it.?

  • 0 Votes
    4 Posts
    1k Views
    lukeglukeL

    Take a look at https://www.bartslinger.com/cx-10-quadcopter/debugging-stm32-from-qtcreator/
    and similar articles. Key words: "qtcreator debugging stm32"

  • 0 Votes
    2 Posts
    4k Views
    SGaistS

    Hi and welcome to devnet,

    There's no ready made "console widget", you can use QPlainTextEdit or depending on the amount of data a QListView with a custom QStyledItemDelegate for fancy rendering.

    For getting the output of your cli application, you can use QProcess.

  • 0 Votes
    8 Posts
    3k Views
    D

    Hmm good catch!

    Although it turns out that I can't flick the list, because the items require some custom mouse move handling ... which reduces it to a non-interactive PathView. So, solved I guess! Thanks for pointing out the Tumbler though, and I hope my examples prove to be useful to others.

  • 0 Votes
    2 Posts
    1k Views
    V

    Hi

    Did you get any solution for the above issue ?
    I am facing a similar issue as above and any solutions would really help.

    Running configuration tests...
    Checking for gold linker...

    cd /home/viu1cob/samba/workspace/source/qt-everywhere-opensource-src-5.9.5/config.tests && /opt/tooling/codesourcery/MGC-2015.12-138-arm-gcc-5.2.0/Sourcery_CodeBench_for_ARM_Embedded/bin/arm-none-linux-gnueabi-g++ -fuse-ld=gold -o conftest-out conftest.cpp

    collect2: fatal error: cannot find 'ld'
    compilation terminated.
    test config.qtbase.tests.use_gold_linker FAILED
    Checking for machine tuple...

    /opt/tooling/codesourcery/MGC-2015.12-138-arm-gcc-5.2.0/Sourcery_CodeBench_for_ARM_Embedded/bin/arm-none-linux-gnueabi-g++ -dumpmachine

    arm-none-linux-gnueabi
    test config.qtbase.tests.machineTuple succeeded
    Checking for valid makespec...

    cd /home/viu1cob/samba/workspace/source/qt-everywhere-opensource-src-5.9.5/config.tests/verifyspec && /home/viu1cob/samba/workspace/source/qt-everywhere-opensource-src-5.9.5/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/opt/tooling/codesourcery/MGC-2015.12-138-arm-gcc-5.2.0/Sourcery_CodeBench_for_ARM_Embedded/arm-none-linux-gnueabi/libc" "QMAKE_CXXFLAGS += --sysroot=/opt/tooling/codesourcery/MGC-2015.12-138-arm-gcc-5.2.0/Sourcery_CodeBench_for_ARM_Embedded/arm-none-linux-gnueabi/libc" "QMAKE_LFLAGS += --sysroot=/opt/tooling/codesourcery/MGC-2015.12-138-arm-gcc-5.2.0/Sourcery_CodeBench_for_ARM_Embedded/arm-none-linux-gnueabi/libc" -early "CONFIG += cross_compile" /home/viu1cob/samba/workspace/source/qt-everywhere-opensource-src-5.9.5/qtbase/config.tests/verifyspec cd /home/viu1cob/samba/workspace/source/qt-everywhere-opensource-src-5.9.5/config.tests/verifyspec && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make

    rm -f verifyspec.o
    rm -f *~ core *.core
    /opt/tooling/codesourcery/MGC-2015.12-138-arm-gcc-5.2.0/Sourcery_CodeBench_for_ARM_Embedded/bin/arm-none-linux-gnueabi-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/opt/tooling/codesourcery/MGC-2015.12-138-arm-gcc-5.2.0/Sourcery_CodeBench_for_ARM_Embedded/arm-none-linux-gnueabi/libc --sysroot=/opt/tooling/codesourcery/MGC-2015.12-138-arm-gcc-5.2.0/Sourcery_CodeBench_for_ARM_Embedded/arm-none-linux-gnueabi/libc -O2 -std=gnu++11 -w -fPIC -I/home/viu1cob/samba/workspace/source/qt-everywhere-opensource-src-5.9.5/qtbase/config.tests/verifyspec -I. -I/home/viu1cob/samba/workspace/source/qt-everywhere-opensource-src-5.9.5/qtbase/mkspecs/devices/linux-imx6-g++ -o verifyspec.o /home/viu1cob/samba/workspace/source/qt-everywhere-opensource-src-5.9.5/qtbase/config.tests/verifyspec/verifyspec.cpp
    /opt/tooling/codesourcery/MGC-2015.12-138-arm-gcc-5.2.0/Sourcery_CodeBench_for_ARM_Embedded/bin/arm-none-linux-gnueabi-g++ -mfloat-abi=hard --sysroot=/opt/tooling/codesourcery/MGC-2015.12-138-arm-gcc-5.2.0/Sourcery_CodeBench_for_ARM_Embedded/arm-none-linux-gnueabi/libc --sysroot=/opt/tooling/codesourcery/MGC-2015.12-138-arm-gcc-5.2.0/Sourcery_CodeBench_for_ARM_Embedded/arm-none-linux-gnueabi/libc -Wl,-O1 -o verifyspec verifyspec.o
    /opt/tooling/codesourcery/MGC-2015.12-138-arm-gcc-5.2.0/Sourcery_CodeBench_for_ARM_Embedded/bin/../lib/gcc/arm-none-linux-gnueabi/5.2.0/../../../../arm-none-linux-gnueabi/bin/ld: error: verifyspec.o uses VFP register arguments, verifyspec does not
    /opt/tooling/codesourcery/MGC-2015.12-138-arm-gcc-5.2.0/Sourcery_CodeBench_for_ARM_Embedded/bin/../lib/gcc/arm-none-linux-gnueabi/5.2.0/../../../../arm-none-linux-gnueabi/bin/ld: failed to merge target specific data of file verifyspec.o
    collect2: error: ld returned 1 exit status

  • 0 Votes
    3 Posts
    1k Views
    R

    @SGaist thanks!