Skip to content

3rd Party Software

Combining Qt with 3rd party libraries or components? Ask here!
1.1k Topics 5.5k Posts
  • Problem connecting to pylon(basler) camera

    Unsolved
    10
    0 Votes
    10 Posts
    4k Views
    S

    While using pylon 6.2 you can also set an empty environment variable.

    export GENICAM_LOG_CONFIG_V3_1 = ""

  • USB over Network camera is not working

    Unsolved
    1
    0 Votes
    1 Posts
    300 Views
    No one has replied
  • ¿how can i use vlc mouse event ?

    Unsolved
    5
    0 Votes
    5 Posts
    579 Views
    E

    @SGaist no, i'm beginner in qt

  • Do I need to use threading?

    Locked Unsolved
    1
    0 Votes
    1 Posts
    269 Views
    No one has replied
  • Ranorex Qt Automation

    Solved
    6
    0 Votes
    6 Posts
    747 Views
    G

    thank you guys, I think I will try directly the Qt Support.

  • Barcode reader QML/JS

    Unsolved
    8
    0 Votes
    8 Posts
    1k Views
    KH-219DesignK

    It seems like "reachtech" is some kind of a special case (which I am not knowledgeable about).

    In general, I want to agree with @SGaist that a barcode reader normally "presents itself" (via its driver or a generic driver) to the system as just another connected keyboard that types keyboard keys as input.

    As @SGaist said, if the keyboard focus is set onto some editable control/widget, then when a barcode is scanned it should "just work" and you would see characters from the barcode typed into the editable control.

    I will add one other slightly different approach that I have taken in a particular QML-based application. In my particular case, there were no editable on-screen widgets onto which to place keyboard focus. However, the requirement still existed that the application "capture" any scanned barcodes and display them.

    In that application, I used QObject::installEventFilter to install an event filter on the root window of the QML app. The app only used a barcode scanner (never a QWERTY keyboard), so it was simple to just filter every QKeyEvent (QEvent::KeyPress) and assume it was input from the barcode scanner.

    To better explain what I mean by "root window", the initialization looked like this:

    QQmlApplicationEngine engine; // ... other code to initialize the engine with main.qml and so forth const QList<QObject*> objs = engine.rootObjects(); MY_ASSERT( objs.size() == 1, "if the app starts creating more than one root window, " "please reevaluate the logic of our global event filter" ); objs[ 0 ]->installEventFilter( POINTER_TO_CUSTOM_QOBJECT_FILTER_HERE );

    For QML applications that have zero editable controls, this was a successful alternative in my experience.

  • 0 Votes
    5 Posts
    1k Views
    SGaistS

    Hi,

    You should check your video file, but as I wild guess, it's likely a FullHD video which is 1920 * 1024. Since you are creating a RGB QImage out of it, it's already weighing about 6MB per image. QPixmap is meant to be optimised for rendering and thus the backing memory used might even be larger for, for example, alpha channel handling. Depending on what else you do with your application and these images you can pretty quickly hit memory limits if your application is 32bit.

  • Need suggestions about tone mapping for EXR

    Unsolved
    3
    0 Votes
    3 Posts
    580 Views
    SisqosS

    @SGaist said in Need suggestions about tone mapping for EXR:

    16 bit

    Thanks for the info. It might help.

  • 1 Votes
    4 Posts
    2k Views
    SGaistS

    @Ranto-Tiaray-Andrianavonison Hi,

    You need to link to the appropriate macOS frameworks and libraries as well.

  • Qt and gstreamer

    Unsolved
    18
    0 Votes
    18 Posts
    13k Views
    R

    you can try:

    MediaPlayer{ id: playVideo source: "gst-pipeline: filesrc location=/home/root/skim-debris.mp4 ! qtdemux ! avdec_h264 ! qtvideosink" autoLoad: true autoPlay: true playbackRate: 1.0 loops: 10 } VideoOutput { anchors.fill: parent source: playVideo }
  • 0 Votes
    3 Posts
    438 Views
    PardeepP

    thanks @artwaw

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • 0 Votes
    2 Posts
    265 Views
    SGaistS

    Hi and welcome to devnet,

    There's nothing particular in Qt for that.

    You should use the C++ API provided by Microsoft to implement the communication you want.

  • This topic is deleted!

    Unsolved
    6
    0 Votes
    6 Posts
    22 Views
  • objectarx and qt

    Unsolved
    1
    0 Votes
    1 Posts
    470 Views
    No one has replied
  • 0 Votes
    26 Posts
    3k Views
    JonBJ

    @ronaldon
    You cannot link mixing compilers.

    MinGW produces .a libraries. MSVC produces .lib libraries. You need to pick one of the two compilers and compile both your own code and third-party code with the same compiler toolchain.

  • Install Opencv and QT (no tutorial worked yet)

    Unsolved
    2
    0 Votes
    2 Posts
    293 Views
    SGaistS

    Hi,

    Did you ensure that you were using OpenCV and Qt built with the same compiler ?

  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    2 Views
  • Include cpr library

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    kkoehneK

    Also note that Qt Creator gains some direct support for vcpkg only in the next upcoming release: https://www.qt.io/blog/qt-creator-cmake-package-manager-auto-setup

  • Trying to cmake Qmsgpack library but i get an error

    Unsolved
    2
    0 Votes
    2 Posts
    255 Views
    SGaistS

    Hi,

    Where is it installed in your system ?
    Did you point CMake to your Qt's cmake files ?