Skip to content
  • 0 Votes
    22 Posts
    21k Views
    S

    guys, i have the same issue but with debian 11. When i run the player example, i get the following

    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer" sherif@debian:~/sndmod$ sudo apt list --installed | grep gstreamer [sudo] password for sherif: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. gir1.2-gstreamer-1.0/stable,now 1.18.4-2.1 amd64 [installed,automatic] gira-gstreamer-vanilla/testing,now 1.0.0-4 all [installed,automatic] gstreamer1.0-alsa/stable,now 1.18.4-2 amd64 [installed,automatic] gstreamer1.0-clutter-3.0/stable,now 3.0.27-2 amd64 [installed,automatic] gstreamer1.0-gl/stable,now 1.18.4-2 amd64 [installed,automatic] gstreamer1.0-gtk3/stable,now 1.18.4-2 amd64 [installed,automatic] gstreamer1.0-libav/stable,now 1.18.4-3 amd64 [installed] gstreamer1.0-packagekit/stable,now 1.2.2-2 amd64 [installed] gstreamer1.0-pipewire/stable,now 0.3.19-4 amd64 [installed,automatic] gstreamer1.0-plugins-bad/stable,now 1.18.4-3 amd64 [installed,automatic] gstreamer1.0-plugins-base/stable,now 1.18.4-2 amd64 [installed] gstreamer1.0-plugins-good/stable,now 1.18.4-2 amd64 [installed] gstreamer1.0-plugins-ugly/stable,now 1.18.4-2 amd64 [installed] gstreamer1.0-pulseaudio/stable,now 1.18.4-2 amd64 [installed] gstreamer1.0-tools/stable,now 1.18.4-2.1 amd64 [installed,automatic] gstreamer1.0-x/stable,now 1.18.4-2 amd64 [installed,automatic] libgstreamer-gl1.0-0/stable,now 1.18.4-2 amd64 [installed,automatic] libgstreamer-plugins-bad1.0-0/stable,now 1.18.4-3 amd64 [installed,automatic] libgstreamer-plugins-base1.0-0/stable,now 1.18.4-2 amd64 [installed,automatic] libgstreamer1.0-0/stable,now 1.18.4-2.1 amd64 [installed,automatic] libgstreamer1.0-dev/stable,now 1.18.4-2.1 amd64 [installed,automatic] qtgstreamer-plugins-qt5/stable,now 1.2.0-5.1 amd64 [installed,auto-removable] sherif@debian:~/sndmod$
  • 0 Votes
    2 Posts
    2k Views
    SGaistS

    Hi,

    4.7.3 vs 5.1.0 are a bit too far apart

  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    12 Posts
    6k Views
    SGaistS

    Looks good.

    Then, you should use gdb to debug your application

  • 0 Votes
    8 Posts
    4k Views
    Pablo J. RoginaP

    @Jaykovs I don't know any guide for specific platform, but I'd follow some of the guides to cross-compile Qt (mainly for Raspberry Pi) that can help you as a reference. BTW, what device is the one you're using?

    Examples:
    http://forum.qt.io/topic/56049/setting-up-cross-compiler-rasp-pi/10
    http://processors.wiki.ti.com/index.php/Building_Qt#Building_Qt.C2.A0
    http://doc.qt.io/QtEnterpriseEmbedded/qtee-custom-embedded-linux-image.html

  • 0 Votes
    2 Posts
    5k Views
    R

    Got it. The documentation quite frankly is bad written when it comes to the QtCreatorDeployment.txt What you actually write in this file is just the remote path and without the sftp://IP_ADDRESS so now I simply have:

    /home/pi/Projects/

    and the binary from my Debian 8 lands right in there on the RPi2. I posted a detailed explanation on stackoverflow (link in my first post).

  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    5 Posts
    3k Views
    SGaistS

    Yes, better to make clean build

  • 0 Votes
    4 Posts
    13k Views
    Dmitry Yu OkunevD

    Found the solution: I just forgot to copy my ANDROID_PACKAGE_SOURCE_DIR (see the .pro file) from the old PC.

  • 0 Votes
    2 Posts
    1k Views
    SGaistS

    Hi,

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

    Duplicate

    Closing this one

  • 0 Votes
    5 Posts
    3k Views
    K

    I am working on Nitrogen6 Max Board using Ubuntu Trusty for i.MX6 boards img (light weight desktop environment).
    I have downloaded img file from timesys for direct use http://boundarydevices.com/trusty-ubuntu-mx6/.

  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    3 Posts
    1k Views
    R

    @justin1122

    Can you be more specific? I feel like I've tried everything to resolve this problem...

    Are there any resources online that use qt on the freeRTOS operating system on arm?

  • 0 Votes
    4 Posts
    11k Views
    B

    @Phill-ONeill said:

    -prefix $usr -xplatform linux-arm-g++-cross -release -opensource
    -no-largefile -no-qml-debug -system-zlib -no-gif -qt-libpng -qt-libjpeg -qt-freetype
    -no-xcb -no-xkbcommon -no-pulseaudio -no-alsa -no-gtkstyle -nomake "examples tests"
    -no-rpath -no-nis -no-cups -no-fontconfig -no-kms -no-pch -no-directfb -no-sql-sqlite -no-xcb
    -eglfs -mtdev -opengl -tslib -skip qtactiveqt -skip qtconnectivity -skip qtdoc -skip qtenginio
    -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmultimedia -skip qtsensors
    -skip qtserialport -skip qtsvg -v

    This gives me the following error: linux-arm-g++-cross: unknown argument

    @mokat said:

    sudo ./configure -opensource -confirm-license -developer-build -nomake examples -nomake tests -skip qtwebkit -device imx6 -prefix /usr/local/

    Running this command gives me this:

    Creating qmake...
    .Done.
    Running configuration tests...
    Failed to process makespec for platform 'devices/linux-imx6-g++'

    Which gives me:

    Creating qmake...
    make: Nothing to be done for `first'.
    Running configuration tests...
    Failed to process makespec for platform 'devices/linux-imx6-g++'
    Project ERROR: CROSS_COMPILE needs to be set via -device-option CROSS_COMPILE=<path>
    Could not read qmake configuration file /home/bob/qt5/qtbase/mkspecs/devices/linux-imx6-g++/qmake.conf.
    Error processing project file: /dev/null

    So I add -device-option with: -device-option CROSS_COMPILE=/home/bob/Downloads/gcc-linaro-arm-linux-gnueabi/bin/arm-linux-gnueabi-

    sudo ./configure -v -opensource -confirm-license -developer-build -nomake examples -nomake tests -skip qtwebkit -device imx6 -prefix /usr/local/ -device-option CROSS_COMPILE=/home/bob/Downloads/gcc-linaro-arm-linux-gnueabi/bin/arm-linux-gnueabi-

    Which gives me the following Warnings:

    Creating qmake...
    .Done.
    Running configuration tests...
    Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set.
    Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.
    Could not determine the target architecture!
    Turn on verbose messaging (-v) to see the final report.
    WARNING: Unable to find file .device.vars
    No QPA platform plugin enabled!
    If you really want to build without a QPA platform plugin you must pass
    -no-qpa-platform-guard to configure. Doing this will
    produce a Qt that can not run GUI applications.
    The dependencies needed for xcb to build are listed in
    src/plugins/platforms/xcb/README

    If I check this readme it tells me the dependencies I need and suggest using -qt-xcb to reduce dependencies. I have the dependencies so I add -qt-xcb to the end of my command

    sudo ./configure -v -opensource -confirm-license -developer-build -nomake examples -nomake tests -skip qtwebkit -device imx6 -prefix /usr/local/ -device-option CROSS_COMPILE=/home/bob/Downloads/gcc-linaro-arm-linux-gnueabi/bin/arm-linux-gnueabi- -qt-xcb

    This spew this pile of errors: http://pastebin.com/uh9EYs1y

    Would re-installing Ubuntu or something work? I'm really at the end of my options. Everywhere people seem to be able to run these ./configure commands with some options easily. For me it just spews lines of errors and stuff. As you can see above trying to get the command you use to work results in work followed by not working anywa

  • 0 Votes
    11 Posts
    4k Views
    MhM93M
    no the same one.
    first i run my program . it doesn't work. then run ts_calibrate but it works. then run demo in mini2440 but the touch was worked, but when i run the example of the Qt4.6.3 in example folder (/opt/qt....4.6.3/example/...) the touch doesn't work. all of them in one console.
    these are my system info:
    [root@FriendlyARM /udisk]# cd /dev/input/
    [root@FriendlyARM input]# ls
    event0 mice

    [root@FriendlyARM input]# cat event0
    7�G7H�7!H7��7&am
    p;#65533;��7��7.�

    after each touch show me characters like these(my touch work)

    ===============================================

    i change this to:
    export QWS_MOUSE_PROTO="tslib:/dev/input/event0
    IntelliMouse:/dev/input/mice"
    but nothing happen.

  • 0 Votes
    1 Posts
    769 Views
    No one has replied
  • 0 Votes
    1 Posts
    982 Views
    No one has replied
  • 0 Votes
    4 Posts
    1k Views
    S

    Hi LuGRU and ambershark,

    Thank you very much for the information. I will look at them and pay attention to their license requirement.