Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.5k Topics 457.3k Posts
  • Empty style sheet and *.ui

    14
    0 Votes
    14 Posts
    7k Views
    EddyE
    Sorry i didn't see that. Afaik stylesheets are not used the way you want. The power of stylesheets is exactly that you can give the whole of your application the same look in one place.
  • Start with CPP and MYSQL

    2
    0 Votes
    2 Posts
    1k Views
    P
    You can look here: http://doc.qt.nokia.com/4.7/qsqlquery.html#details
  • QWidget's focus chain and order

    3
    0 Votes
    3 Posts
    6k Views
    P
    -So if the focus chain is looped how is the first widget determined when it's parent widget appears?- Just found QWidget::focusWidget() function.
  • [Solved] Qt "forgets" to link one of my "moc_MyClass.o" objects.

    11
    0 Votes
    11 Posts
    3k Views
    G
    In this case forcing a run of qmake should do the trick.
  • QTextStream vs. QPlainTextEdit (not looking the same)

    11
    0 Votes
    11 Posts
    7k Views
    M
    Ok, good, I would be concerned if there was. :)
  • Deleting QProcess after finish

    14
    0 Votes
    14 Posts
    16k Views
    M
    Thanks, I understand signals/slots I was asking because I was running into an issue where I wanted a different thread to be able to cancel the process and if I sit on QProcesses waitForFinished() and then call kill() from a different thread then nasty things happen. :) What I did in the end was simply set a bool that determines if I should kill the process and then after I call the process I do: @ while(proc->waitForFinished(250)) { if( _killRequested ) proc->kill(); } @ This seems to be working well.
  • COM (DLL) ActiveQt

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Deleting objects with mixed ScriptOwnership

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    17 Posts
    7k Views
    L
    Just install the Symbian^3 toolchain using the Qt SDK maintenance utility.
  • RemoveEventFilter

    3
    0 Votes
    3 Posts
    3k Views
    B
    Thank you Volker, I have stored all parents into a list and removed them on a new install.
  • [Solved] ini File Location for QSettings

    4
    0 Votes
    4 Posts
    12k Views
    V
    Thank you guys for the insight! Problem solved. I read the QSettings Basic Usage docs, default format, and what not and got it all working perfectly! Thank you!
  • Calculate clicks

    3
    0 Votes
    3 Posts
    2k Views
    M
    Yes! Thank you very much! Fast and simple reply! I think "static" was the answer I looked for. Thanks! That helps me really much!
  • How to set buttons in popup mode

    10
    0 Votes
    10 Posts
    4k Views
    A
    So... what's the problem with just setting a QMenu on the button then?
  • QUdpSocket and QThread

    7
    0 Votes
    7 Posts
    9k Views
    M
    Andre, thank you so much for your detailed reply! I think I'll try to get rid of the threads somehow. Then do some excessive testing and hope that everything works fine. I probably won't finish today, but after the weekend I'll give you a short feedback on my progress. Thanks again for your help & have a nice weekend! Greets, Mr.Orange
  • Getting videowidget in Qt mobility up and running

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Find the hash value of an Image?

    17
    0 Votes
    17 Posts
    18k Views
    A
    [quote author="Tobias Hunger" date="1316772194"]Lukas: You are right. The first can be solved by doing the image-loading and conversion-to-png that the code is doing actually doing. So those conversions are not completely useless. [/quote] Actually, I would not assume that an image save in format A and in format B will be exactly the same anymore after loading and decoding them again, unless it was explictly clear that the formats are lossless. The format most often used (and used in the sample code from harshita) to store pictures (.jpg) is not. So even for that case, it is useless. Anyway, I think Lukas pointed at an excellent starting point for this in the slashdot. I am actually quite interested in this myself, as I have some ideas for an application that would need to use this functionality too.
  • [Solved] Auto run an app after inserting media

    14
    0 Votes
    14 Posts
    6k Views
    Q
    Ok Thanks to all.
  • [Solved] How to show image in html file with QTextBrowser?

    10
    0 Votes
    10 Posts
    13k Views
    G
    The anser has been given in the "new thread on that error":http://developer.qt.nokia.com/forums/viewthread/9997. Please discuss the error specific topics over there.
  • [Solved] QColor::setNamedColor: Unknown color name 'inherit' Error

    4
    0 Votes
    4 Posts
    4k Views
    J
    Hi, this should be fixed in 4.8 accordingly to https://bugreports.qt.nokia.com/browse/QTBUG-19098
  • [Solved] How to get command line return data from other application?

    2
    0 Votes
    2 Posts
    3k Views
    A
    [[Doc:QProcess]] can do that for you. It gives you two channels for the output of the application: stderr and stdout. This also works on Windows.