Skip to content

3rd Party Software

Combining Qt with 3rd party libraries or components? Ask here!
1.1k Topics 5.5k Posts
  • This topic is deleted!

    Solved
    2
    0 Votes
    2 Posts
    10 Views
    No one has replied
  • Problem including Protobuf v3.x.x with Qt creator

    Unsolved
    5
    0 Votes
    5 Posts
    5k Views
    S

    Yes, I did re-run qmake after the changes. I think I will try to make a new project and only import the essentials of the protobuf program to see if that will run.

  • Add extra module into OPENCV

    Unsolved
    2
    0 Votes
    2 Posts
    732 Views
    SGaistS

    Hi,

    For OpenCV handling please ask the OpenCV forum. This one is about Qt.

    There are already numerous threads here that talk about using OpenCV with Qt, please use the search functionality.

  • Building OpenCV for Qt

    Solved
    20
    0 Votes
    20 Posts
    8k Views
    SGaistS

    Then why not:

    LIBS += -LD:/opencv-build/lib \ -lopencv_core320 \ -lopencv_highgui320 \ # etc...

    ?

  • 0 Votes
    12 Posts
    3k Views
    K

    @Faisal_Ali

    In Qt creator you have a project file with the extension .pro

    Check the entries in this file. There typically some entries like

    SOURCES += main.cpp\ MainWindow.cpp \ MyRadio.cpp \ MyRadioLine.cpp \ MyLine.cpp HEADERS += MainWindow.h \ MyRadio.h \ MyRadioLine.h \ MyLine.h FORMS += MainWindow.ui

    Under SOURCES all files for compilation have to be listed.
    Under HEADERS all include files are listed.

    Most likely the source file with your source code of structured_light is missing.

    If so, the source file is not compiled and cannot be linked to your application.

  • Offline MapboxGL for Qt

    Unsolved
    1
    0 Votes
    1 Posts
    584 Views
    No one has replied
  • Which LibTIFF to use?

    Unsolved
    13
    0 Votes
    13 Posts
    6k Views
    SGaistS

    Yes

    AFAIK, Windows doesn't have any system libtiff.

  • generate Sinusoidal pattern using opencv in qt.

    Locked Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    SGaistS

    Hi,

    Please don't post the same question in multiple sub-forum. One is enough and you already got an answer there pretty similar to what @J-Hilk wrote.

    Duplicates

    Closing this one.

  • Qt Xlsx - save on document destroys Chart data

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    VRoninV

    Sorry for zombieing this one.
    What that library does is loading all the data from the existing file and re-build it from scratch when you click save this means that any feature that existed in the original file but it's unsupported by the library will be removed on save just because the library doesn't even know they exist

  • The conflict between quazip and mupdf-qt

    Unsolved
    9
    0 Votes
    9 Posts
    4k Views
    AlexorleonA

    If I comment the lines

    SOURCES += main.cpp# \ #$${QUAZIPCODEDIR}/*.cpp \ #$${QUAZIPCODEDIR}/*.c #HEADERS += $${QUAZIPCODEDIR}/*.h

    error: undefined reference to `JlCompress::extractDir(QString, QString)'

  • QOpenGlWidget and GLEW 2.0

    Unsolved
    7
    0 Votes
    7 Posts
    3k Views
    SGaistS

    The QOpenGLFucntionXXX classes only provides your class with access to the OpenGL functions, it's still up to you to mange the context and friends properly.

  • GStreamer - How to interrupt a video stream programmaticaly?

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    SGaistS

    Hi,

    The QtGStreamer module is not part of the Qt project, you should as the author of the module.

  • Error in opening DB using QSqlQuery

    Solved
    27
    0 Votes
    27 Posts
    9k Views
    mzimmersM

    Well, I think I have it solved. Not sure what I did differently, but here are the relevant files:

    /etc/odbcinst.ini

    [MySQL-test] Driver=/usr/local/lib/libmyodbc5a.so Setup=/usr/local/lib/libmyodbc5s.so Description=Connector/ODBC Driver DSN FileUsage=1 UsageCount=1

    /etc/odbc.ini

    [MySQL-test] Description=MySQL test database Driver=MySQL-test SERVER=127.0.0.1 USER=root PASSWORD=<PASSWORD-GOES-HERE> PORT=3306 DATABASE=test Option=3

    Notes:

    I created these files using templates with the exact same data in them, and calling "odbcinst -i -s -f odbcinst.template" and "odbcinst -i -f -f odbc.template". I had to put the password to my root account in my odbc.template file. Not sure I like this, but I don't know what the alternative would be. there is nothing in the directory /etc/ODBCDataSources, and I don't have an .odbc.ini file in my home directory. the two pages that helped the most are:
    unixodbc
    debian
    And, it works: mzimmers@debian:/etc$ isql MySQL-test +---------------------------------------+ | Connected! | | | | sql-statement | | help [tablename] | | quit | | | +---------------------------------------+ SQL>

    Thanks to everyone who helped...as I said, I'm not sure what I did between the start and the end of this, but it's working now, both with isql and my Qt example.

  • 0 Votes
    3 Posts
    11k Views
    P

    @SGaist I tried with your suggested link and it works. Thank you so much

  • QT project in Visual studio

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    P

    Yes totally.. I don't understand why the GUI doesn't appear. There are no build errors or warnings. The project is compiled successfully. I can see the process( .exe) is running in task manager. There is no error. Nothing happens in the window till I stop the debugger.

    bg->GetLogger()->Info(...) line works. it actually updates log. I have this line commented for now.
    HowToEngineUse() is a function that has series of instructions to advance time and stuff like that.

    "I'm wondering if you're not getting stuck in the create of the biogears engine and therefore Qt can't start it's event loop in the main app.exec()." - Do you have any suggestions for debugging?

  • How do block access to GammaRay?

    Unsolved
    2
    0 Votes
    2 Posts
    675 Views
    SGaistS

    Hi and welcome to devnet,

    What do you mean by "sees to much information" ?

  • Memory leaks in Qt app

    Moved Unsolved
    15
    0 Votes
    15 Posts
    5k Views
    Cobra91151C

    My app gets WMI data and displays it as QTreeWidgetItem, but it consumes to much RAM memory when changing languages.

    void MyApp::appOSThread() { try { osWorker = new Worker(); osThread = new QThread(osWorker); osWorker->moveToThread(osThread); connect(osThread, &QThread::started, osWorker, &Worker::appOSWMIData); connect(osWorker, &Worker::appOSData, this, &MyApp::osWMIData); connect(osWorker, &Worker::hardwareDataNotAvailable, this, &MyApp::osWMIDataNotAvailable); connect(osWorker, &Worker::errorNotSupportedOS, this, &MyApp::appNotSupportedOS); connect(osWorker, &Worker::finished, osThread, &QThread::quit, Qt::DirectConnection); connect(osThread, &QThread::destroyed, osThread, &QThread::deleteLater); osThread->start(); logData(QObject::tr("Application: gets OS information")); } catch (...) { QMessageBox::critical(this, QObject::tr("Error"), QObject::tr("An error has occurred with detecting OS!")); } } void MyApp::osWMIData(QStringList property, QStringList data) { int countOSProperties = property.count(); QString osProperty; QString osData; for (int i = 0; i < countOSProperties; i++) { osProperty = property.at(i); osData = data.at(i); osItem = new QTreeWidgetItem(osView); //osView - QTreeWidget osItem->setText(0, osProperty); osItem->setText(1, osData); } } void MyApp::appLocalization() { osView->clear(); appOSThread(); }

    For example when app is started takes 30 MB when change language then it takes 3 - 5 MB RAM and when changing again it takes again 5 - 10 MB of RAM.

    Any ideas?

  • Vlc-qt doesn't open localhost streaming

    Unsolved
    2
    0 Votes
    2 Posts
    787 Views
    SGaistS

    Hi,

    That's rather a VLC question. You should ask the VLC folks about that behaviour.

  • Convert LPWSTR to string

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    M

    Hi

    You can be interested with this link

    http://stackoverflow.com/questions/2696895/how-to-convert-lptstr-to-qstring

  • Possible ability on confidence interval

    Moved Solved
    2
    0 Votes
    2 Posts
    718 Views
    VRoninV

    It's the second example in the project homepage... http://www.qcustomplot.com/index.php/demos/sincscatterdemo