Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.4k Posts
  • Using Linux fonts for Qt application[solved]

    9
    0 Votes
    9 Posts
    11k Views
    V
    Solved. Thanks a lot Gerolf for very useful info. on further investigation, found that qt 3.0.4 version uses core X font subsystem on Linux. Hence it will take the fonts which are installed in core X. Also found that qt 3.3.6 and maybe all the higher versions of qt uses fontconfig subsystem. fontconfig is a new subsystem, and it will eventually replace core x font subsystem (from linux forums) Thanks Gerolf
  • QtHtml5Script anyone?

    9
    0 Votes
    9 Posts
    3k Views
    P
    For the server side, the the QtScript generator would be all you need. http://code.google.com/p/qtscriptgenerator/ but it needs some work as not all the examples worked for me. I thought that if I wanted to include the QtScript generator examples then it would have to be GPL as well. I sent an email about this issue to Nokia and am awaiting feedback.
  • Using 3d models (.obj) AND materials (.mtl) in an opengl application

    15
    0 Votes
    15 Posts
    29k Views
    K
    [quote author="hurricane" date="1313562019"]I want to load 3D models and textures for symbian 3 devices using Qt with openGL ES 1.1 . Can u provide some example for that... Regards hurr[i]cane[/quote] Ah, for symbian... Then I guess you can't use GLC Lib. (laumaya?) However I think you should be able to use Qt 3d. I haven't tried it on symbian. So I don't have exact pointers for you there.
  • Qt handle native messages?

    6
    0 Votes
    6 Posts
    6k Views
    L
    result is the "system-dependant":http://goo.gl/t8Cg3, "message-dependant":http://goo.gl/G1e1Q result of the message. "In your case":http://goo.gl/oL2jS zero if the message has been processed.
  • [SOLVED] lineEdit to wrap text

    9
    0 Votes
    9 Posts
    10k Views
    L
    I kinda have a hunch that that would solve the problem.
  • [SOLVED] textEdit textChanged return key

    2
    0 Votes
    2 Posts
    3k Views
    K
    I found a solution to my textEdit problem and it can be found "here...":http://developer.qt.nokia.com/forums/viewthread/8828/
  • Click on QPushButton crashes the application!!

    6
    0 Votes
    6 Posts
    4k Views
    G
    It's still not changed. I've created a new bug report "QTBUG-20953":https://bugreports.qt.nokia.com/browse/QTBUG-20953 specific to this bug.
  • Read HTTP POST data with QTcpSocket

    Moved
    10
    0 Votes
    10 Posts
    9k Views
    G
    [quote author="nilotpal" date="1313514417"]Thank you Volker for stopping by, I actually got the idea of converting the message into associative array after reading the RFCs. But I missed the obvious point that the message may not have arrived in its entirety at first read. So I guess I'll have to set up a watch dog and read the message once it has arrived fully. [/quote] You don't know that from the socket. The TCP connection may not necessarily closed once the request has been sent completely (keep alive connections). The watchdog is not needed, IMHO. As soon as there is new data availabel, you'll be notified by the signals.
  • [Solved] treeWidget with mutiple windows/dialogs -Thanks

    6
    0 Votes
    6 Posts
    3k Views
    M
    Be sure and edit the thread title to add [Solved] if it's resolved. Thanks!
  • Use QLineEdit with mask AND validator for money OUTPUT

    3
    0 Votes
    3 Posts
    5k Views
    L
    [quote author="peppe" date="1313510909"]I'm not sure what do you mean. Which format the data you're trying to set has? An integer / a double you need to format in a specific way? ( Qt 4.8 will introduce QLocale support for currencies (f.i. QLocale::toCurrencyString). )[/quote] It is a double. But someone suggested to me subclass QValidator to validate what is introduced in the lineedit. I did this and it worked. Thank you!
  • How to disable a button after clicking it?

    14
    0 Votes
    14 Posts
    24k Views
    D
    See http://developer.qt.nokia.com/wiki/Threads_Events_QObjects , especially the last examples. If your job is not splittable and/or you can't insert calls to QCoreApplication::processEvents, use a separate thread.
  • How to get the relationship between two QDockWidget?

    16
    0 Votes
    16 Posts
    5k Views
    A
    Please use the edit option next to your post to make spelling corrections or additions instead of making new posts.
  • [SOLVED] Why my Qt app does not find Qt plugins?

    9
    0 Votes
    9 Posts
    7k Views
    V
    Ahh, I can't believe it... The qsqlite4.dll requires msvcr90.dll, which is next to the exe. But when it tries to load the dll I suppose it changes the working-directory to qsqlite4.dll 's folder, which does not contains msvcr90.dll. If I copy msvcr90.dll next to qsqlite4.dll it can find it and the app can load the sqlite plugin. If only the exe directory contains msvcr90.dll then it can not... Is this a common problem? Are there any solution no to have multiple msvcr90.dll s in every plugin folder? This is important, because the app does not require any installation, and I don't want to install MSVC redistributable installer.
  • Event handling

    3
    0 Votes
    3 Posts
    3k Views
    G
    You should show us at least the connect statements. How should we know what's going on without that?
  • How to resize the QDockWidget?

    10
    0 Votes
    10 Posts
    9k Views
    Y
    yes,you side it. I knew this method before,but saveState() cant get more details. i need more details,such as toolbar name, detail of every action in toolbar and so on. so i must realize by myself. my application is framework-plugin.
  • QNetworkAccessManager asynchronous API

    3
    0 Votes
    3 Posts
    5k Views
    L
    You answer is pretty clear, thanks. So, it's based on select(2) sys call. I just want to make sure. The link is very informative.
  • A widget to display text

    7
    0 Votes
    7 Posts
    20k Views
    sierdzioS
    I'm looking through Qt textbook right now, it seems that - as I've mentioned - it is possible through QSS. Try this: @ // use your QTextEdit, of course: QTextEdit test; test.setStyleSheet("border: rgb(255, 0, 0); "); @ You can use common colour names, too. For more info, look into documentation: "Qt Style Sheet":http://developer.qt.nokia.com/doc/qt-4.7/stylesheet.html#id-7e8519ff-eddd-442c-ad11-e4519ccf273a
  • Problem with X-Windows System.

    2
    0 Votes
    2 Posts
    1k Views
    D
    I don't see any reason for that to fail. Can you paste a small, complete, compilable example?
  • 0 Votes
    5 Posts
    5k Views
    S
    I do not find installable for Qgui4 and Qtcore4 in the log. How do I go about them? I have installed Qt Quick 4.7
  • Is There a way to get Mouse Position in a sceneEventFilter?[Solved]

    4
    0 Votes
    4 Posts
    4k Views
    R
    Please mark the post title as [Solved]. Thanks