Skip to content

3rd Party Software

Combining Qt with 3rd party libraries or components? Ask here!
1.1k Topics 5.5k Posts
  • 0 Votes
    3 Posts
    1k Views
    A

    I think there also is something like it on the wiki. Also not complete, of course.

  • Qt::Key to Keycode on x11

    2
    0 Votes
    2 Posts
    2k Views
    W

    Nobody?

    I forgot to mention that the needed keycode is returned by QKeyEvent::nativeVirtualKey(). But it doesn't work for "artificially" created key events. Is there a way to create them with this data included?

  • 0 Votes
    2 Posts
    2k Views
    P

    Calligra use a patched version from http://wvware.sourceforge.net/
    i found version wv && wv2 aka libwv2-4 to work on kde.
    Abisource www.abisource.com use the first one wv.

    I slightly modified the latest libwv2-4 code to meet our need, to use on qt5.
    But on this time i dont have image or table support, on binary doc format..
    You can append this option from this binary doc escher ole format if you like to handle 200 variable from one simple paragraph..
    But i write from zero class to read docx odt rtf table image and so..

    The best hack ist to convert doc binary to odt openformat..

    My self wv2qt lib to read formatted tex..
    http://qt-apps.org/content/show.php/Wv2qt+Library+to+read+Office+word+doc.?content=162279

    Method to convert document to html web target

    pdf - docx - odt rtf
    https://github.com/pehohlva/qt-gmail-access/tree/master/console_doc
    All image embedded
    one file html and css style image table inside..

    gif 1x1 pixel=
    data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==

    @
    <xsl:template match="fo:tab">
    <img data="render93" class="tab" width="33px" height="12px" alt="text:tab" />
    </xsl:template>
    @

  • Qt for Photoshop plugin

    4
    0 Votes
    4 Posts
    2k Views
    JKSHJ

    Ah, I see.

    It sounds like your plugin (DLL?) needs to create a QApplication, followed by your widgets. Then, your widgets will need to call functions provided by the Photoshop SDK API, to communicate with Photoshop.

    I haven't done anything like this myself; try starting at http://stackoverflow.com/questions/11054087/starting-qt-gui-from-dll-in-dllstart-function

  • How to remove a scale from QwtKnob

    2
    0 Votes
    2 Posts
    891 Views
    SGaistS

    Hi,

    You should rather ask this question on the qwt mailing list, you'll reach the Qwt developers there

  • 0 Votes
    8 Posts
    4k Views
    J

    Great that's very useful, thank you.

  • Trying to make QT + QGIS working

    3
    0 Votes
    3 Posts
    3k Views
    SGaistS

    Hi and welcome to devnet,

    I don't know whether QGIS has several libraries or not. In the first case, are you sure you are linking to all required libraries ?

    Hope it helps

  • Qt with Java

    2
    0 Votes
    2 Posts
    912 Views
    H

    See "QT-JAMBI":http://qt-jambi.org/ but it is a little bit outdated.

  • Any examples with ActiveMQ-cpp

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Realtime plotting by using Qt and Qwt&#63;

    2
    0 Votes
    2 Posts
    2k Views
    R

    Hi,
    first you acually need to run the installer and install Qt. Then you have to add path to qmake (as f.e Qt-5.1.1/bin in your bash). After that you should be able to run QtCreator and build/run the Qt examples.
    Next, you need to download QWT, unzip and run "qmake qwt.pro". Then call "make" that will create the qwt lib (http://qwt.sourceforge.net/qwtinstall.html) . Then you should install Qwt as a feature to include qwt in you project (.pro file) with adding CONFIG += qwt.
    Qwt comes with a lot of examples so you should build and run those. To do so you can open "examples.pro" where you can choose which example you want to build and run.
    Hope this helps a bit,
    Best

  • Active objects (actors) meet Qt5

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • QSqldatabase db2 on ubuntu

    8
    0 Votes
    8 Posts
    3k Views
    F

    I think I know what went wrong... I did compile against the 4.8.5 source. Strange thing is... I'm already trying for over a day to get the db2 driver compiled against the qt 4.8.0 source and I don't get it to work anymore.

    The errors I'm getting are:
    ../../../sql/drivers/db2/qsql_db2.cpp: In member function ‘virtual QVariant QDB2Result::data(int)’:
    ../../../sql/drivers/db2/qsql_db2.cpp:1033:77: error: call of overloaded ‘QVariant(SQLBIGINT)’ is ambiguous
    ../../../sql/drivers/db2/qsql_db2.cpp:1033:77: note: candidates are:
    /usr/include/qt4/QtCore/qvariant.h:432:12: note: QVariant::QVariant(const char*) <near match>
    /usr/include/qt4/QtCore/qvariant.h:432:12: note: no known conversion for argument 1 from ‘SQLBIGINT {aka long int}’ to ‘const char*’
    /usr/include/qt4/QtCore/qvariant.h:429:12: note: QVariant::QVariant(void*) <near match>
    /usr/include/qt4/QtCore/qvariant.h:429:12: note: no known conversion for argument 1 from ‘SQLBIGINT {aka long int}’ to ‘void*’
    /usr/include/qt4/QtCore/qvariant.h:219:5: note: QVariant::QVariant(Qt::GlobalColor) <near match>
    /usr/include/qt4/QtCore/qvariant.h:219:5: note: no known conversion for argument 1 from ‘SQLBIGINT {aka long int}’ to ‘Qt::GlobalColor’
    /usr/include/qt4/QtCore/qvariant.h:212:5: note: QVariant::QVariant(const QLocale&) <near match>
    /usr/include/qt4/QtCore/qvariant.h:212:5: note: no known conversion for argument 1 from ‘SQLBIGINT {aka long int}’ to ‘const QLocale&’
    /usr/include/qt4/QtCore/qvariant.h:194:5: note: QVariant::QVariant(const QChar&)
    /usr/include/qt4/QtCore/qvariant.h:191:5: note: QVariant::QVariant(const QString&) <near match>
    /usr/include/qt4/QtCore/qvariant.h:191:5: note: no known conversion for argument 1 from ‘SQLBIGINT {aka long int}’ to ‘const QString&’
    /usr/include/qt4/QtCore/qvariant.h:189:5: note: QVariant::QVariant(const QByteArray&) <near match>
    /usr/include/qt4/QtCore/qvariant.h:189:5: note: no known conversion for argument 1 from ‘SQLBIGINT {aka long int}’ to ‘const QByteArray&’
    /usr/include/qt4/QtCore/qvariant.h:184:5: note: QVariant::QVariant(float)
    /usr/include/qt4/QtCore/qvariant.h:183:5: note: QVariant::QVariant(double)
    /usr/include/qt4/QtCore/qvariant.h:182:5: note: QVariant::QVariant(bool)
    /usr/include/qt4/QtCore/qvariant.h:181:5: note: QVariant::QVariant(qulonglong)
    /usr/include/qt4/QtCore/qvariant.h:180:5: note: QVariant::QVariant(qlonglong)
    /usr/include/qt4/QtCore/qvariant.h:179:5: note: QVariant::QVariant(uint)
    /usr/include/qt4/QtCore/qvariant.h:178:5: note: QVariant::QVariant(int)
    /usr/include/qt4/QtCore/qvariant.h:172:5: note: QVariant::QVariant(const QVariant&)
    /usr/include/qt4/QtCore/qvariant.h:169:5: note: QVariant::QVariant(QVariant::Type) <near match>
    /usr/include/qt4/QtCore/qvariant.h:169:5: note: no known conversion for argument 1 from ‘SQLBIGINT {aka long int}’ to ‘QVariant::Type’
    ../../../sql/drivers/db2/qsql_db2.cpp: In member function ‘virtual bool QDB2Driver::open(const QString&, const QString&, const QString&, const QString&, int, const QString&)’:
    ../../../sql/drivers/db2/qsql_db2.cpp:1213:79: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    ../../../sql/drivers/db2/qsql_db2.cpp:1216:81: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    ../../../sql/drivers/db2/qsql_db2.cpp: In member function ‘bool QDB2Driver::setAutoCommit(bool)’:
    ../../../sql/drivers/db2/qsql_db2.cpp:1580:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    make: *** [qsql_db2.o] Error 1

    Any clue?

    Best regards and thanks in advance,
    Freek

  • [solved] trouble linking libtiff with vc++

    5
    0 Votes
    5 Posts
    3k Views
    K

    Dear SGaist,

    thanks for the hint, it worked! libtiff.pri produces the tiff_* objs in the build directory and links without problems.

    Sorry for the late reply, I didnt get back to this earlier.

  • 0 Votes
    4 Posts
    2k Views
    SGaistS

    You're welcome !

    Spaces are not specially a problem from Qt, it's global for Windows dev tools. That's why Qt's installer put it in a path without spaces and that it's recommended that all 3rd party libraries (e.g. mysql) also be installed in path without spaces. It simplifies development a lot. You can have a look at the quote function of qmake if you have paths with spaces and ultimately there's the 8.3 notation that can be used

  • 0 Votes
    5 Posts
    12k Views
    SGaistS

    You're welcome !

    Out of curiosity, how did you install Qt ?

  • How to link Qt 2.4.1(32) with Intel MKL lib?

    22
    0 Votes
    22 Posts
    11k Views
    SGaistS

    If you have installed VS it should be detected by Qt Creator so you should be able to do everything from it.

  • 0 Votes
    3 Posts
    11k Views
    M

    I was having similar problem when I was trying to create sample Qt Creator plugin with Qt 5.2 and Qt Creator 3.0.8, both built from their Git repositories.

    After creating project with the Qt Creator Plugin wizard, I tweaked some file/class names and started getting this "“Plugin Metadata file ... does not exist."

    Turns out, FILE name used in Q_PLUGIN_METADATA was slightly different than QTC_PLUGIN_NAME in .pro file.

  • [SOLVED] QwtPlot margin

    2
    0 Votes
    2 Posts
    3k Views
    W

    Solved:

    graph->axisWidget(QwtPlot::Axis::yLeft)->scaleDraw()->setMinimumExtent();

  • QODBC and unixODBC/mdbtools

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Qt5 eglfs QWT6.1 Empty Plot region

    2
    0 Votes
    2 Posts
    2k Views
    K

    welcome to devnet

    Please have a look on "how to use code tags":http://qt-project.org/wiki/ForumHelp#e3f82045ad0f480d3fb9e0ac2d58fb01
    I am going to add them for you.
    I will shift your post to "3rd Party Software" forum. Most of Qwt posts are there. However, it might be also worthwhile for you to check directly on the qwt mailing list.