Skip to content

3rd Party Software

Combining Qt with 3rd party libraries or components? Ask here!
1.1k Topics 5.6k Posts
QtWS25 Last Chance
  • Static plugin VS static library

    5
    0 Votes
    5 Posts
    6k Views
    L
    Ok, thanks. Now it's more clear.
  • Question for QWT in Qt application

    Solved
    3
    0 Votes
    3 Posts
    3k Views
    A
    I used QWT in Qt 4.7.x, it works.
  • QExtSerialPort port->write Problem

    5
    0 Votes
    5 Posts
    6k Views
    A
    Normally, you should not have to start from scratch at all, since they both simply subclass QIODevice. That means most of your code can stay stable.
  • QExtSerialPort && waitForReadyRead

    15
    0 Votes
    15 Posts
    12k Views
    S
    This project is not very popular but for me is better than Qextserialport. [quote author="Luca" date="1304430744"] [quote author="stuk" date="1304425688"]Have you look this project? "https://gitorious.org/qserialdevice":https://gitorious.org/qserialdevice[/quote] Thanks, It seems to works. I must do some tests but it goes in the right way.[/quote]
  • Creating and adding a static library

    3
    0 Votes
    3 Posts
    6k Views
    R
    Hi, Here is the complete project code (http://www.4shared.com/file/FFtrqBMR/qextserialport.html ), in which I tried the project in the examples/event folder, i.e @ PROJECT = event TEMPLATE = app DEPENDPATH += . INCLUDEPATH += ../../src QMAKE_LIBDIR += ../../src-build-desktop/build CONFIG += staticlib OBJECTS_DIR = tmp MOC_DIR = tmp UI_DIR = tmp SOURCES += main.cpp PortListener.cpp HEADERS += PortListener.h CONFIG(debug, debug|release):LIBS += -lqextserialportd else:LIBS += -lqextserialport @ I am using Qt libraries version 4.7.0, Qt Creator IDE version 2.0.1 in Windows Thanking You, Ras
  • Customizing QDial

    15
    0 Votes
    15 Posts
    17k Views
    A
    I would use png, I think. Qt has good support for it, and it produces not artifacts that can hinder readability of text. I do suggest two separate images for the background and the needle, yes.
  • Check platform on .pro [Solved]

    9
    0 Votes
    9 Posts
    8k Views
    Z
    You're welcome. I know these build issues can be frustrating.
  • Linked library not found at compilation.

    3
    0 Votes
    3 Posts
    6k Views
    A
    INCLUDEPATH, as "documented":http://doc.qt.nokia.com/4.7/qmake-variable-reference.html#includepath, is for including header files. I think you were looking for VPATH and/or DEPENDPATH.
  • Help with GPS integration basics

    2
    0 Votes
    2 Posts
    3k Views
    A
    Most GPS's are simply serial devices. You could use QextSerialPort to open the port your device talks at. The output stream is most likely NMEA (refer to your GPS manual for details on communication speeds and protocol used).
  • QwtPlot how to create an weekly Xaxis?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • [Solved] How to Rendering an image within QwtPlot?

    3
    0 Votes
    3 Posts
    6k Views
    S
    first. thank you. unclewerner. i solved. reference example C:\Qt\qwt-5.2.1\examples\cpuplot [ check point ] edit ui. (create widget) Promoted Widgets QWidget - CWg_plot - wg_plot.h add code @ CWg_plot* wg_plot = new CWg_plot(this); //create widget wg_plot->resize(300, 300); //need resize or (other way.) CWg_plot* wg_plot = ui->wg_unit; //auto resize (follow ui.) @ code in wg_plot @ qwt_plot = new QwtPlot(this); //create plot CPlotitem_bg* plot_bg = new CPlotitem_bg(); //create CPlotItem plot_bg->attach(qwt_plot); //add CPlotitem in qwt_plot @ and @ void CWg_plot::resizeEvent(QResizeEvent* event) //plot resize { if(qwt_plot == NULL){ return ; } qwt_plot->resize(this->width(), this->height()); } @ code in plotitem_bg (draw) @void CPlotitem_bg::draw(QPainter *p, const QwtScaleMap &, const QwtScaleMap &, const QRect &rect) const@
  • Curve Fitting Not Always Applied

    3
    0 Votes
    3 Posts
    4k Views
    M
    Uwe has kindly begun to help me on "http://www.qtcentre.org/threads/39533-Cu…ght=#post181435":http://www.qtcentre.org/threads/39533-Cu…ght=#post181435 I will follow this up there as I don't want to waste experts tiem with multiple posts.
  • QwtPlot Not able to update(replot) in QMainWindow

    4
    0 Votes
    4 Posts
    5k Views
    W
    lol i know, i know. I get impatient sometimes, i apologize.
  • QwtDial::setScale

    9
    0 Votes
    9 Posts
    7k Views
    S
    [quote author="Franzk" date="1297181733"][quote author="SolarQuark" date="1297181527"]Isn't this Qt stuff nice?[/quote]Just in case this was a sneer at Qt, Qwt is not maintained by Nokia. Anyway, you're welcome.[/quote] Absolutely NOT! I genuinely think this Qt stuff is amazing. It is not that long ago that someone like me really had a choice of VB/Delphi/or trying to write some graphics using the windows api and c (Petzold?). Life was, and still is, far too short. I did not even know of the existence of Qt, wxWidgets, FLTK, GTK, FOX, et al, until I recently began to do some research into modern C/C++ development platforms and if it was possible to program for a 'modern' (is there ever such a thing?) OS. And so, in trying to teach myself C++, I tripped across the above technologies and, having researched as much as was reasonable, or perhaps even unreasonable, I decided to learn C++/Qt in parallel. I do not regret that decision - despite my slowness of mind - and I genuinely am stunned by the capabilities of Qt. I wish, I wish, I wish that the documentation for Qwt was half as good as that for Qt though. Take care, and thank you again for your help. Mike
  • Conflict between two libraries QGui4.lib and qwt.lib

    3
    0 Votes
    3 Posts
    3k Views
    R
    Thank you Gerolf You are right.. I thought that the lib file was an import library. I also tried to create an import library for qwt but I only got a .dll because I don´t have a the headers files __declspec definitions (implicit use of .dll). Is there any way to create a .dll without changing the header files? Thank you very much again! All the best Ricardo Sousa
  • 0 Votes
    3 Posts
    3k Views
    P
    Hi, Franzk: Thanks a lot. I will try it.
  • Serial port number in windows

    28
    0 Votes
    28 Posts
    21k Views
    S
    Yes, i also use this library with success. But i think the 'enumeration' feature is in a very alpha state. Only with a dll i can run correctly this feature. [quote author="LiamMaru" date="1293466689"]I've used QSerialDevice to great success for other serial port tasks, it may be worth a look.[/quote]
  • Slot in inherited class is not working...

    6
    0 Votes
    6 Posts
    7k Views
    P
    hi i think i works for me but try to put the implement of the class constructor and other function in a cpp file not within the class and put Q_OBJECT for the two classes
  • External GPS on windows

    4
    0 Votes
    4 Posts
    3k Views
    Q
    Thanks a lot I'll try and i'll report the result.
  • Accessing GPS device from qt desktop(windows) App

    2
    0 Votes
    2 Posts
    4k Views
    T
    Hi, I'm not an expert in this thing, but I think you should use "QNmeaPositionInfoSource":http://doc.qt.nokia.com/qtmobility-1.1.0-beta/qnmeapositioninfosource.html and use, as QIODevice, "QExtSerialPort":http://qextserialport.sourceforge.net/ Once I wrote a GPS application, but I parsed NMEA sentences by myself, cause at that time there was no QtMobility. QExtSerialPort works fine, as long as your GPS is seen on your desktop as a COM device (virtual or not). Tony.