Skip to content

3rd Party Software

Combining Qt with 3rd party libraries or components? Ask here!
1.1k Topics 5.5k Posts
  • QT Error with Twain Data Source

    Unsolved
    37
    0 Votes
    37 Posts
    12k Views
    mrjjM

    HI
    The UNUSED ARG ?

  • How to use libssh in a windows QT Project.

    Unsolved
    4
    0 Votes
    4 Posts
    3k Views
    SGaistS

    I think you are mixing two things here:

    Build libssh Use libssh in your project

    For the former, ask the maintainers of the library. For the second see the related Qt Creator documentation.

    Note that you have an INSTALL file in the sources that explains what to do to build libssh.

  • 3 party integration

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    SGaistS

    Hi,

    You have here an example of a qmake custom compiler for IDL files.

  • Mosquitto build with Mingw?

    Moved Unsolved
    2
    0 Votes
    2 Posts
    919 Views
    raven-worxR

    @Hyo. said in Mosquitto build with Mingw?:

    but It doesn't work...

    the chances to get help are higher when you are more specific

  • Detect a change of a database table

    Unsolved
    6
    1 Votes
    6 Posts
    7k Views
    JonBJ

    @karl_qt said in Detect a change of a database table using Qt:

    I could start a thread, which does a database query every 10s, but maybe there is a better way?

    But what s your query? I.e. how do you know that some row has been inserted/updated/deleted?

  • QCA no Makefile

    Solved
    7
    0 Votes
    7 Posts
    4k Views
    M

    @VRonin said in QCA no Makefile:

    also, if you are using MSVC you have to tell cmake to generate makefiles instead of project files. Pass the -G "NMake Makefiles" arguments to your cmake call

    You sir, have saved me. I can't believe they don't specify that in the guide (it also uses MSVC, so idk why there wasn't the same problem).

    I've run into some trouble while building, but that can/should be its own topic.

    @VRonin said in QCA no Makefile:

    Slightly related, is QCA supported and updated? The last thing you'd want is to use an out of date cryptographic library.

    I normally use Crypto++ but libcrypto of OpenSSL is also very good (if you don't mind messing with C)

    It is still active, looking at the the git (https://cgit.kde.org/qca.git/) the last commit was in 2017-09-30 (some months ago, but it isn't dead).
    I had also been looking at Crypto++, but ended up settleing for QCA for no pacticular reasons. And I wouldn't mess with C, I'm still even just a C++ newbie afterall ;) QCA can also use OpenSSL btw.

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Building a project using poppler with msvc

    Unsolved
    7
    0 Votes
    7 Posts
    3k Views
    SGaistS

    You don't link to Qt Creator, you link it with your project. Now one of the questions is: are you using a MinGW build of Qt ?

  • Css transform property support for QWebEngineView

    Unsolved
    1
    0 Votes
    1 Posts
    470 Views
    No one has replied
  • [SOLVED] Excel Interface with XLW

    3
    0 Votes
    3 Posts
    2k Views
    J

    I know it is an old topic but I had a similar issue and I think I have a better solution that could be used for deployment (it works at least for Qt 5.9.3) :

    copy all your dll in the xll folder (Qt and anything else) Add the path of your xll in the system PATH (not the user) Instantiate an object of QCoreApplication Define a search path for libraries on the xll folder (resolved the "driver not loaded" for sql for example).
    I noted that when we open an xll, the working directory is not the xll folder but the user folder defined in excel (like <user>/document). So I guess that dll couldn't load on runtime for this reason.
    For finding xll path, I didn't find a way to do it with Qt. #include <QCoreApplication> #include <windows.h> QCoreApplication * g_application = NULL; QString getPath() { char path[100]; HMODULE hm = NULL; if (!GetModuleHandleExA(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS | GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT, (LPCSTR) &getPath, &hm)) { int ret = GetLastError(); fprintf(stderr, "GetModuleHandle returned %d\n", ret); } GetModuleFileNameA(hm, path, sizeof(path)); return QString(path); } class RegisterLibrary { public: int m_argc; char ** m_argv; RegisterLibrary() { m_argc = 1; m_argv = new char*[2]; m_argv[0] = new char[30]; strcpy(m_argv[0], "libExcel"); m_argv[1] = NULL; g_application = new QCoreApplication(m_argc, m_argv); QString filePath = getPath(); QStringList s = filePath.split("\\"); s.removeLast(); QString path = s.join("\\"); QStringList libraries = QCoreApplication::libraryPaths(); libraries.append(path); QCoreApplication::setLibraryPaths(libraries); } virtual ~RegisterLibrary() { delete g_application; delete [] m_argv[0]; delete [] m_argv; g_application = NULL; } }; RegisterLibrary g_library;
  • QCustomPlot not rebuilt part of the chart

    Moved Unsolved
    2
    0 Votes
    2 Posts
    884 Views
    ?

    Hi! QCustomPlot is 3rd party software. They have their own forum over here.

  • 0 Votes
    4 Posts
    2k Views
    A

    @Pablo-J.-Rogina

    Thank you for your suggestion, but it seems I need to build Qt source code with -system-zlib option.
    For many various reasons, I would like to use prebuilt Qt binaries...

    The only solution I found is to modify "zlib_dependency.pri" like this.

    #qtConfig(system-zlib) { contains(QT_CONFIG, system-zlib) { // same as Qt 5.7.0's zlib_dependency.pri QMAKE_USE_PRIVATE += zlib } else { QT_PRIVATE += zlib-private }

    Qt 5.7.0 used "contains" instead of "qtConfig", and it worked fine.
    By modifying Qt 5.9.3's zlib_dependency.pri in the same way, the error has been disappeared.
    But if you know other better solutions, let me know please.

  • 0 Votes
    2 Posts
    2k Views
    SGaistS

    Hi,

    Not a direct answer but since you are doing SOAP, you might want to consider using the KDSoap.

  • Configure matlab engine in qtcreator

    Solved
    14
    0 Votes
    14 Posts
    5k Views
    Z

    I also unchecked the "shadow build" in the built settings. it started getting better after that.

  • 0 Votes
    3 Posts
    2k Views
    SGaistS

    Hi and welcome to devnet,

    That's a question you should bring to the authors of QGroundControl. This is not an official Qt module nor application.

  • QMQTT undefined reference to ...

    Unsolved
    16
    0 Votes
    16 Posts
    6k Views
    A

    @aha_1980 rly? you are the best.
    after the make install it worked. Thank you very much. I'm very happy about that now.
    Thanks a lot. =)

  • How to add MapboxGL support?

    Unsolved
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    2 Posts
    3k Views
    A

    Actually, to use style sheets is not right for what I want since I want the semi-transparent colour to be on a white background, while my QwtPlot object has a grey background...

    This means that, in the end, I am doing the following:

    static const QColor White = Qt::white; QBrush brush = canvasBackground(); double ratio = myColor.alpha()/256.0; brush.setColor(QColor((1.0-ratio)*White.red()+ratio*myColor.red(), (1.0-ratio)*White.green()+ratio*myColor.green(), (1.0-ratio)*White.blue()+ratio*myColor.blue())); setCanvasBackground(brush);

    I guess I am happy with that...

  • QtGStreamer Osx Build

    Unsolved
    1
    0 Votes
    1 Posts
    413 Views
    No one has replied
  • QmlVlc 0.1

    Moved Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    F

    Hi, because I try all to compile 3d studio, my first kit was mingw and it give me many warning and finally fatal error, after that, I use msvc2015 kit32, same probleme and on forum, I received information the 3d studio source has been release only for msvc2015, and I try that, I got more than 350 warnings but not fatal error and I could compile it, it's not perfect but done