I have now the answer:
Instead of this:
@
test->rotation *= QQuaternion::fromAxisAndAngle(QVector3D(1,0,0),OpenGLScene::anglex);
@
I have to write this
@
test->rotation = QQuaternion::fromAxisAndAngle(QVector3D(1,0,0),OpenGLScene::anglex);
@
Using the correct compiler toolchains, this should not be a problem. You will have to wait for four compiler runs to finish (or even more in case of additional embedded targets), though :-)
PS:
Make sure to install/build in separate directories, of course.
Forgot to post a reply, but I solved this eventually myself.
The flicker is due to QTreeView and its edit function being tied to a double click. Hence I just Subclassed QTreeView with
@
bool DerivedTreeView::edit(const QModelIndex& index,
EditTrigger trigger,
QEvent* event) {
if (trigger == QAbstractItemView::DoubleClicked)
return false;
return QTreeView::edit(index, trigger, event);
}
@
^^ That just ignores the edit call when the trigger is a double click and hence the flicker is gone. Also by using the same edit function from the context menu I could get the rename functionality as well when needed.
QNetworkAccessManager should not block, irregardless of the threaded and non-threaded version, and this is most probably a side effect of the desktop firewall (which are known to do more harm than good). As far as I can tell right now you are basically left with three options:
upgrade to 4.8
use your own threaded mechanism
debug your application to find the actual cause so we can find a solution
Ok I resolved the thing by myself.
The problem is that the provided .pro has not included the win32-msvc2008:CONFIG += console directive.
I suggest you, also, to add an %option nounistd at the beginning of the calc.l and an #include<io.h> in order to use the atty function provided in the default include directory.
[quote author="joonhwan" date="1326405736"]After reading this post, I checked Qt doc and found.
bq. Rich text displayed in a tool tip is implicitly word-wrapped unless specified differently with <p >.
Hmm.. if your text is not wrapped, what was the problem then? wierd.[/quote]
I want to write a function where i will provide required text width in pixels and that function will set the tooltip display width to specified pixels width and the line exceeding it will be come to the next line.Can you say me what useful information you found in the doc related to this and How can i use that to achieve this with some example?
Hi,
Thanks a lot for your suggestion. I can call Qt ResizeGeometry() to resize the window, but my problem is that inside the Qt code I need to change the parent of widegt to some other external running application. and since that application is not being developed using Qt so that the window of that application will not inherit from QWidget and for changing the parent using Qt , the parent window must be QWidget *.
I have to use XReparentWindow() inside Qt code.
under windows I have achieved this using SetParent API and it works fine.
Can we not do this stuff in Linux.
Please advice.