Skip to content

3rd Party Software

Combining Qt with 3rd party libraries or components? Ask here!
1.1k Topics 5.5k Posts
  • [SOLVED] QWT Plot refresh

    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • QextSerialPort - ReadWrite mode trouble

    8
    0 Votes
    8 Posts
    7k Views
    S

    I don't know if you have the ability to add a message delimiter, I had to do that with my own protocol. Then all I did was loop:

    @
    readBytes = serialport->read(serialport->bytesAvailable());
    @

    and append readBytes to a QString until I reach my message delimiter. At the moment, I'm testing my code with a virtual serial port connecting 2 x VirtualBox's using the following for these serial port settings:

    @
    serialPort = new QextSerialPort(serialDevice, QextSerialPort::EventDriven);
    serialPort->setBaudRate(BAUD115200);
    serialPort->setFlowControl(FLOW_OFF);
    serialPort->setParity(PAR_NONE);
    serialPort->setDataBits(DATA_8);
    serialPort->setStopBits(STOP_2);
    @

  • QWT example debug for Zoomer functionality

    5
    0 Votes
    5 Posts
    3k Views
    X

    It is already set to debug, I am stuck bigtime :(

  • Qextserialport.pro doesn’t build

    5
    0 Votes
    5 Posts
    4k Views
    K

    And if you're using OS Windows and QtSDK, then you have an build error qwineventnotifier_p.h.

    The solution below:
    [quote]
    It private file is located in the source code Qt4:
    qt-everywhere-opensource-src-4.7.4/src/corelib/kernel/qwineventnotifier_p.h

    But since is a private class, then it does not include in the Qt SDK.

    Therefore, in two ways:

    Or build Qt4 from source and use. Or take this header file from the Qt4 source and copy it to the Qt SDK, example to:
    C/QtSDK/Desktop/Qt/4.7.4/msvc2008/include/QtCore/private/qwineventnotifier_p.h
    [/quote]

    Where instead 4.7.4. may be your current version (eg 4.8.0),
    and instead msvc2008 may be mingw.

  • Wrong data from qextserialport

    4
    0 Votes
    4 Posts
    3k Views
    K

    Try using QSerialDevice 2.0.
    Read this "thread":http://developer.qt.nokia.com/forums/viewthread/11634/#67246

  • Modifying widgets in constructor

    4
    0 Votes
    4 Posts
    3k Views
    A

    Sounds like a problem in Qwt to me, to be honest. I think what you were doing in the constructor should work. The only thing I can think about, is that perhaps (speculation) Qwt does not accept setting up axis before you actually told it about the kind of data is need to plot (and what axis there are in that)?

  • 0 Votes
    8 Posts
    3k Views
    X

    Thanks for the help, I have started off finally...

  • [Solved]More qwt plot questions

    7
    0 Votes
    7 Posts
    8k Views
    T

    Yes this looks like my old function.
    Thank you

  • Boost Exceptions cause a memory violation

    11
    0 Votes
    11 Posts
    8k Views
    G

    Yes, the Qt libs are precompiled. To use boost together with those you will have to compile it with the same settings. It will not help to change 10.5 to 10.7 in the mkspecs, as Qt is still built with the old settings!

    You have two options here:

    build boost with the same settings as Qt build Qt manually with the same settings as you build boost

    I personally would go with the first option and rebuild Qt.

  • Slider Tickmarks Layout

    2
    0 Votes
    2 Posts
    3k Views
    A

    Good question. I guess this is tricky to do with the standard Qt slider widget. What you might considder (if possible for you), is to use Qwt instead. It provides more options for its slider widget, including having custom scales. It even supports logartitmic scales.

  • 0 Votes
    4 Posts
    3k Views
    X

    anyway.. thank you.. i already found it...

  • [SOLVED] QextSerialPort problem

    5
    0 Votes
    5 Posts
    3k Views
    Z

    Yes. Typically add the user you run your application as to the uucp group or maybe enable filesystem ACLs and set a suitable ACL on your serial device.

  • 0 Votes
    4 Posts
    3k Views
    G

    well, it seems that Qwt have a good starting point, they have a progress bar with levels, i can subclass and get it done, thanks!

  • Real time plotting

    2
    0 Votes
    2 Posts
    4k Views
    K

    Welcome to the forum
    There was a similar post the other day "here":http://developer.qt.nokia.com/forums/viewthread/10677

  • 0 Votes
    2 Posts
    3k Views
    V

    You need using "QWT":http://qwt.sourceforge.net/

  • Graph scale logarithmic

    2
    0 Votes
    2 Posts
    4k Views
    EddyE

    "Follow this link":http://developer.qt.nokia.com/faq/answer/do_you_provide_a_tool_for_creating_graphs

    Also if you click the qwt tag on the right you will find more usefull info.

    On the qwt website there is an example using logaritmic scale if I remember well.

  • 0 Votes
    5 Posts
    3k Views
    G

    You are, unfortunately, very right. This library of mine is still very static and the redesign is slow-going (work responsibilities are picking up towards the end of the year). With regards to interaction, have a look at the Qt Chart example if you haven't done so yet:

    http://doc.qt.nokia.com/stable/itemviews-chart.html

    Enjoy and good luck!

  • [Solved] Qwt Dial and needle

    7
    0 Votes
    7 Posts
    6k Views
    T

    Ok
    I started a new topic about this problem.
    http://developer.qt.nokia.com/forums/viewthread/10343/

  • [Solved]Path and libs in qt

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    12 Posts
    12k Views
    J

    One other thing, no spaces in any of the directory names. This can cause weird issues as well.