Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.6k Posts
  • [SOLVED] need help with some container errors

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Rotations with QQuaternion and QSlider

    2
    0 Votes
    2 Posts
    2k Views
    B
    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); @
  • 0 Votes
    2 Posts
    2k Views
    G
    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.
  • Phonon: Check Installed Codecs on the Computer

    2
    0 Votes
    2 Posts
    1k Views
    F
    Bump. :(
  • 0 Votes
    5 Posts
    3k Views
    M
    Fixed it by deleting pro.user and then specifiying debug.
  • Problem when exporting graphic to file after calling fitInView()

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • QFileSystemModel - Customise Features of Setting ReadOnly(false)

    2
    0 Votes
    2 Posts
    3k Views
    N
    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.
  • Drag and drop in treeview with scrollbar problem

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Application hangs when using QNetworkAccessManager

    6
    0 Votes
    6 Posts
    4k Views
    L
    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
  • QToolBox tab text alignment

    2
    0 Votes
    2 Posts
    3k Views
    T
    may be any ideas or directions for finding out how solve it
  • 0 Votes
    4 Posts
    4k Views
    F
    Can you post a small example?
  • [SOLVED] How to make simple animated icon ?

    3
    0 Votes
    3 Posts
    5k Views
    A
    QMovie is exactly what I'm looking for. Thanks, sierdzio.
  • Password entered not able to retrieve

    12
    0 Votes
    12 Posts
    4k Views
    S
    I want to display image in a widget. Can you give me some sample code to do this.
  • How to convert bytearray of 64 bit to readable form of data

    3
    0 Votes
    3 Posts
    2k Views
    B
    A hex string should have only capitals characters from A to F in your code there is U, K ... Indeed Lukas is base 64: PK����«F,@!¶Þ¸_/��u©�L�f�SymphonyPlus/projects/IEC61. Anyway i think it's not coded right... text.data() must also be converted to an utf format or something...
  • QLALR - QParser example crashes at startup on Visual Studio 2008

    4
    0 Votes
    4 Posts
    3k Views
    I
    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.
  • 0 Votes
    13 Posts
    12k Views
    P
    [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?
  • Alignment of two widgets between two gridLayouts

    1
    0 Votes
    1 Posts
    945 Views
    No one has replied
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • Sound generate and play

    6
    0 Votes
    6 Posts
    5k Views
    S
    Thank you! Yes this is what I exactly did. I had a problem with sound card.
  • XMoveResizeWindow doesnot work in Qt application

    4
    0 Votes
    4 Posts
    2k Views
    A
    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.