Skip to content

3rd Party Software

Combining Qt with 3rd party libraries or components? Ask here!
1.1k Topics 5.5k Posts
  • Troubles converting qwt5 to qwt6

    Unsolved
    2
    0 Votes
    2 Posts
    205 Views
    SGaistS

    Hi,'

    Which class would that be ?

  • VLC-Qt build error

    Unsolved
    9
    0 Votes
    9 Posts
    856 Views
    jsulmJ

    @NewUser2023 Please post text not pictures.
    In your LIBS you use PWD - make sure the path is really valid and check the linker call to see what paths are passed to the linker.

  • Build QuaZip for Android Qt

    Solved
    16
    0 Votes
    16 Posts
    5k Views
    G

    @jsulm I managed to zip/unzip with quazip for Android device. With guidance from @jsulm. Thank you.

    https://forum.qt.io/topic/151699/how-to-unzip-an-application-running-on-an-android-device-using-qt

  • Using the fmt library is problematic

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    S

    The fmt library also has a header-only mode. It is enabled by providing a define FMT_HEADER_ONLY. In this case you don't need to link to the fmt library anymore. The only requirement is then to have the path to the headers in your search path. (BTW, if everything is set up correctly, you most likely have to just write #include "fmt/format.h". The path up to this point should be set up differently.)

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • execute .exe application from main QT application

    Unsolved
    2
    0 Votes
    2 Posts
    192 Views
    JonBJ

    @Ganesh-Kadam
    QProcess Class

  • "PostgreSQL having trouble opening."

    Unsolved
    2
    0 Votes
    2 Posts
    211 Views
    SGaistS

    Hi and welcome to devnet,

    In what way is it related to Qt ?

  • 1 Votes
    1 Posts
    716 Views
    No one has replied
  • how to integrate libssh with windows QT Creator 11.0.2

    Unsolved
    6
    0 Votes
    6 Posts
    685 Views
    S

    @jsulm Thanks for the solution.

  • Qt not creating .dmp files

    Unsolved
    4
    0 Votes
    4 Posts
    580 Views
    N

    Use Detours Library to hook SetUnhandledExceptionFilter

  • 0 Votes
    2 Posts
    372 Views
    O

    So for some reason when I take out this from within the constructor of Mainwindow.cpp

    try { // Create an instance. mongocxx::instance inst{}; // Connection string const auto uri = mongocxx::uri{uriString}; // Setup the connection and get a handle on the database. mongocxx::client conn{uri}; mongocxx::database db = conn["TestDB"]; // Grabbing the collection col = db["TestCol"]; test(); } catch(const std::exception& e) { // Handle errors. std::cout<< "Exception: " << e.what() << std::endl; }

    then move it to the MainWindow.h header file, like this

    private: std::string uriString = "<uriConnectionString>"; const mongocxx::uri uri = mongocxx::uri{uriString}; mongocxx::instance inst{}; mongocxx::client conn{uri}; mongocxx::database db = conn["TestDB"]; mongocxx::collection col = db["TestCol"];

    it works...not sure why, so if someone who has more experience than myself has any input, please let me know I would love to see an explanation or thought process behind it. Otherwise this is what worked for me, hope it can help someone if they are stuck as well.

  • Downloading MongoDB Drivers to use in QT

    Solved
    11
    0 Votes
    11 Posts
    1k Views
    O

    @SGaist

    Awesome. Thank you a lot, appreciate the help. I will definitely be looking into this, and if I have any other questions I'll reach out, cheers!

  • 0 Votes
    11 Posts
    1k Views
    J.HilkJ

    @JonB you are correct, maybe its in a different thread

    very strange everything hard to tell from afar

  • 0 Votes
    3 Posts
    363 Views
    C

    @SGaist Thank you, that solved it. After extracting the files, I edited qwt.pro, and commented out the lines that run the tests:

    ################################################################ # Qwt Widget Library # Copyright (C) 1997 Josef Wilgen # Copyright (C) 2002 Uwe Rathmann # # This library is free software; you can redistribute it and/or # modify it under the terms of the Qwt License, Version 1.0 ################################################################ lessThan(QT_MAJOR_VERSION, 5) { lessThan(QT_MINOR_VERSION, 8) { error(Qt >= 4.8 required.) } } include( qwtconfig.pri ) TEMPLATE = subdirs CONFIG += ordered SUBDIRS = \ src \ classincludes \ doc contains(QWT_CONFIG, QwtDesigner ) { SUBDIRS += designer } contains(QWT_CONFIG, QwtExamples ) { SUBDIRS += examples } contains(QWT_CONFIG, QwtPlayground ) { SUBDIRS += playground } #contains(QWT_CONFIG, QwtTests ) { # SUBDIRS += tests #} qwtspec.files = qwtconfig.pri qwtfunctions.pri qwt.prf qwtspec.path = $${QWT_INSTALL_FEATURES} INSTALLS += qwtspec

    After that the below steps run without problems:

    qmake qwt.pro mingw32-make -j 6 mingw32-make install
  • 0 Votes
    14 Posts
    2k Views
    LudoFRL

    @JonB

    Well not against offering you a beer, or two...(or more :-))

    @JonB said in undefined reference - Help first time external header library QT C++ [Linux]:

    At this point have you considered dropping this third-party Borland stuff completely and using Qt's QTcpSocket to do whatever you want from TCP instead? But I'm not offering to change your own source code over from using Borland TCP to Qt's ;-)

    This APi is used for GPIO manipulation from an ethernet GPIO modules :
    787d599f-c9e0-4a81-b147-61a7492b4eee-image.png

    What you say seems really true, cause the documentation about the use with Visual studio c++ do not refer at any moment about any library, only cpp/h files. I will try to use this documentation and use into my *.pro file only the files used into Visual Studio.

    https://www.deditec.de/media/pdf/manual_e_delib.pdf#page=26&zoom=auto,-329,815

    I will made you a feedback of course

  • Qt + Eigen + SYCL in GPU

    Unsolved
    1
    0 Votes
    1 Posts
    272 Views
    No one has replied
  • $FileName$ ?

    Moved Unsolved
    1
    0 Votes
    1 Posts
    152 Views
    No one has replied
  • OpenCV select camera ID to connect

    Unsolved
    3
    0 Votes
    3 Posts
    576 Views
    DQUY05D

    @SGaist said in OpenCV select camera ID to connect:

    That's rather something you should check with the OpenCV folks.
    As for fixing the order of the cameras, maybe you can do something with udev or equivalent on Linux.

    Thanks for your reply, I am using windows, and still want to wait for someone who can help,

  • 0 Votes
    3 Posts
    287 Views
    J

    @jsulm While I was looking for piece of code to post, I actually found the problem in it. In some place, the connection wasn't passed to a query and it was associated with a "default" connection. @jsulm, thank you for the help!

  • OpenCV IP Camera connection

    Solved
    9
    0 Votes
    9 Posts
    848 Views
    V

    @JonB Thank you, Sir.. You are correct. There's a mismatch between the versions. Now, I have sort out the error.