Skip to content

3rd Party Software

Combining Qt with 3rd party libraries or components? Ask here!
1.1k Topics 5.6k Posts
  • Qt Visual Studio 2010 add-in qserialdevice set up

    4
    0 Votes
    4 Posts
    4k Views
    A
    im also a real beginner and i wanna know if there's any clear advice about how to use the qserialdevice library in a project? i cant compile the examples i guess i have to build the buildlibrary first but the problem is that i get errors inside the codes and so building the library doesnt get successful and when building the examples,i get this error : cannot find -lqserialdevice how shuold i correctly build the library so that i can compile examples of qserialdevice and also use the library? is there a step by step guide for that or can anybody plz tell me in detail? ill be so thankfull for that.
  • Axis in QwtPlot(QWT)

    6
    0 Votes
    6 Posts
    6k Views
    R
    I try it but it is dont work: @plot->enableAxis(QwtPlot::axisCnt);@
  • Extremely strange - Window Re-painting blocking threads?!

    5
    0 Votes
    5 Posts
    3k Views
    G
    [quote author="matthazley" date="1314876103"]I had a lot of comms coming in so maybe I was triggering too many signals too fast and this was growing the event queue??? I'm not sure... [/quote] This could be the reason, ort perhaps you had some wrong connect statements (which threads are processing the comm's data? how did you do the connect, etc.).
  • Overall Code Design and Widget Editing [Solved]

    8
    0 Votes
    8 Posts
    4k Views
    M
    No problem! Glad to help. Good luck with the rest of your code!
  • [Solved]How can i do it?

    12
    0 Votes
    12 Posts
    5k Views
    R
    OK :) And once more: thank for your help!
  • Events not called unless mouse is moving

    4
    0 Votes
    4 Posts
    3k Views
    F
    Events not being handled properly sounds like an event-loop-reentry problem. Do you call exec() on dialogs or QApplication::processEvents() somewhere? If you can anything that displays this issue, please submit it. It is very hard for us to help you without any code we can read or (even better) try.
  • Qextserialport question

    4
    0 Votes
    4 Posts
    3k Views
    M
    Please be sure to wrap all your code in @ tags. Thanks!
  • 0 Votes
    4 Posts
    7k Views
    jensen82J
    Yes, Qwt, another good reason ;-)
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • QwtPlot-resizeEvent Discarding Qualifiers

    7
    0 Votes
    7 Posts
    6k Views
    EddyE
    A QwtPlot should behave like any other QWidget in a QLayout. Do you use an ui file with Qt Designer or only code? Can you show us one of them?
  • Doubts about using serial ports and how to plot 2d graphics

    2
    0 Votes
    2 Posts
    3k Views
    Z
    I have used QextSerialPort for many years and am very happy with it. Usually one would build it as a shared library and link your own applications and libraries to it in the usual way (ie edit the LIBS variable in your .pro file). As for your second question, how you receive the data back is entirely dependent upon what protocol your serial device is using layered on top of the standard RS232 comms protocol. A library like QextSerialPort and the OS take care of the RS232 part but you are responsible for anything above that. If you can get the bytes of your 128x128 greyscale image then you can create a QImage from them (see the many QImage constructors). You can then use a QLabel (or your own custom widget and QPainter) to show the image. HTH
  • Where do i find libQtSerialPort

    3
    0 Votes
    3 Posts
    3k Views
    C
    Thanks but not it. I ended up cheating and pulling it off my other machine. However, I beleive I have to load the full QT development package and then copy it to the local /lib CT
  • QwtLinearColorMap?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Qwt Plot in QTabWidget - MDIArea

    2
    0 Votes
    2 Posts
    4k Views
    B
    Just tried adding the QMainWindow sub class to the MdiArea and it worked perfectly. One thing that I want is to always have it maximized and to not allow the user to minimize it or restore to the original size.
  • Installing Qwt

    7
    0 Votes
    7 Posts
    8k Views
    S
    bq. Have you already checked this : Qwt Install Note [qwt.sourceforge.net] ? Thank you. I can't managed to use qt.conf. will ask in another post ;-)
  • [SOLVED] [Qwt and a DB] How to plot data coming from a DB with Qwt

    4
    0 Votes
    4 Posts
    5k Views
    V
    Thanks @soroush. It worked perfectly.
  • QwtPlotZoomer zooming off canvas

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • QWT Zoomer Problems

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Drawing cross-platform pie chart on a design form

    7
    0 Votes
    7 Posts
    7k Views
    K
    This is how my code goes... @ int Nightcharts::draw(QPainter *painter) { painter->setRenderHint(QPainter::Antialiasing); painter->setPen(Qt::NoPen); if (this->ctype==Nightcharts::Pie) { pW = 0; double pdegree = 0; //Options QLinearGradient gradient(cX+0.5*cW,cY,cX+0.5*cW,cY+cH*2.5); gradient.setColorAt(1,Qt::black); //Draw //pdegree = (360/100)*pieces[i].pPerc; if (shadows) { double sumangle = 0; for (int i=0;i<pieces.size();i++) { sumangle += 3.6*pieces[i].pPerc; } painter->setBrush(Qt::darkGray); painter->drawPie(cX,cY+pW+5,cW,cH,palpha*16,sumangle*16); } QPen pen; pen.setWidth(2); for (int i=0;i<pieces.size();i++) { gradient.setColorAt(0,pieces[i].rgbColor); painter->setBrush(gradient); pen.setColor(pieces[i].rgbColor); painter->setPen(pen); pdegree = 3.6*pieces[i].pPerc; painter->drawPie(cX,cY,cW,cH,palpha*16,pdegree*16); palpha += pdegree; } @ my idea is when user clicks on a pie, get the RGB at that particular co-ordinates(X,Y)..compare the RGB with pieces[i].rgbColor..get the pie name and hence diaplay the details in a new window.. but I need your help in writing the code to get the pixel color of a window on mouse click.. many thanks in advance...
  • [Solved] Custom Widget with layout doesn’t resize

    10
    0 Votes
    10 Posts
    22k Views
    M
    Thanks & done ... Greetings, Mike