Skip to content

3rd Party Software

Combining Qt with 3rd party libraries or components? Ask here!
1.1k Topics 5.6k Posts
  • 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
    417 Views
    JonBJ
    @Ganesh-Kadam QProcess Class
  • "PostgreSQL having trouble opening."

    Unsolved
    2
    0 Votes
    2 Posts
    425 Views
    SGaistS
    Hi and welcome to devnet, In what way is it related to Qt ?
  • Improve rendering performance while integrating libmpv with QtQuick (+Python)

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

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    S
    @jsulm Thanks for the solution.
  • Qt not creating .dmp files

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    N
    Use Detours Library to hook SetUnhandledExceptionFilter
  • 0 Votes
    2 Posts
    708 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 mongocxx mongodb c++
    11
    0 Votes
    11 Posts
    2k 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!
  • How to deal with "QPixmap: Must construct a QGuiApplication before a QPixmap"

    Unsolved
    11
    0 Votes
    11 Posts
    2k Views
    J.HilkJ
    @JonB you are correct, maybe its in a different thread very strange everything hard to tell from afar
  • QWT-6.20 In function WinMain: undefined reference to qMain Qt 5.15.2 mingw810_64

    Solved
    3
    0 Votes
    3 Posts
    769 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
    3k 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 : [image: b6f5b0bd-e4f1-4708-a16a-d49f89d9dbe8.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
    419 Views
    No one has replied
  • $FileName$ ?

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

    Unsolved
    3
    0 Votes
    3 Posts
    1k 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,
  • DB connections running in parallel crashes

    Solved database threads multithreaded
    3
    0 Votes
    3 Posts
    676 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
    1k Views
    V
    @JonB Thank you, Sir.. You are correct. There's a mismatch between the versions. Now, I have sort out the error.
  • Send Email with QT 5.15 or 6.4

    Unsolved
    2
    0 Votes
    2 Posts
    510 Views
    JonBJ
    @cjacquel2021 Suggest you search this forum, or the web, for send mail or send email for various suggestions. https://forum.qt.io/topic/102082/is-there-anyway-to-send-email-to-someone-in-qt/2 mist be a start.
  • libQtcore so.5

    Unsolved
    4
    0 Votes
    4 Posts
    747 Views
    JonBJ
    @sneha-ashok said in libQtcore so.5: The libraries files of qt is not been picked by my Yocto setup only the libQTcore so.5 libraries is not been. Please review this sentence. We realise English may not be your first language, but it does not make sense as it is. If the error message really reads libQTcore so.5 (did you copy & paste it or just type it in?) then that is incorrectly spelt somewhere you have asked for it.
  • Qt6.5 Qtmultimedia ALSA Issue

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    I
    @Imeshsps Turns out you have to add -DQT_FEATURE_alsa=ON to make experimental feature ON.
  • Building mongodb drivers for qt6.5

    Unsolved
    1
    0 Votes
    1 Posts
    355 Views
    No one has replied