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.
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.
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:
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.
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.
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.
[quote author="kruvva" date="1306436734"]
When I write data to the port, it is triggering the ReadPacket() slot for every byte in the data. I want the slot to be triggered only once when the new data is arrived. How can I achieve this? Is there some thing wrong in the port settings?[/quote]
How would the class know that all your data (or all the data you are interested in) has arrived?
If you get your data in bursts (a block of data, then nothing for a little while, then another block of data), you may look into "this wiki entry":http://developer.qt.nokia.com/wiki/Delay_action_to_wait_for_user_interaction. I explain how to fix this issue when related to UI's, but the code is equally applicable to this case. Or alternatively, you can simply check how many bytes are available when the slot is triggered, and if that number is too low, don't do anything.