Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.4k Posts
  • [SOLVED] Monitoring multiple processes using QProcess

    5
    0 Votes
    5 Posts
    5k Views
    W
    Gerolf, this is exactly what I wanted to hear, thank you both for your input, I'll do some reading. -- Thank you, William
  • Sorting a QList with a Comparator

    4
    0 Votes
    4 Posts
    21k Views
    R
    You guys are awesome. Thanks so much. I didn't realize I could pass a functor. I had gotten an error before that led me to a StackOverflow posts that said you couldn't use member functions.
  • QListIterator constructor parameter conversion issue

    6
    0 Votes
    6 Posts
    4k Views
    G
    Hi kenbrot, this code perfectly compiles: @ class LogParser { public: int i; int j; QList<int> m; void start() {} }; int main(int argc, char argv[]) { QList<LogParser> logParsers; QListIterator<LogParser*> iterator(logParsers); while(iterator.hasNext()) { iterator.next()->start(); } return 0; } @ Perhaps LogParser is only predefined?
  • GL_ARB_debug_output

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Problem on windows with Qt-based DLL

    7
    0 Votes
    7 Posts
    5k Views
    F
    Thanks for giving a hand, i tried setting /DEBUG and /Zi in the library release build but nothing changed in the testapp result (still crash). i uploaded a simple testcase at http://rapidshare.com/files/456023127/testcase.rar no matter what setting i put on testdll (release build), testapp always has issues (in debug)
  • [solved] Configuring Qt Creator project for using WinPcap

    4
    0 Votes
    4 Posts
    6k Views
    U
    Thank you very much, I added: @INCLUDEPATH += D:/Distr/Network/WpdPack/Include LIBS += -L D:/Distr/Network/WpdPack/Lib -lwpcap - lpacket@ and it solved the problem.
  • TTL on UDP sockets

    8
    0 Votes
    8 Posts
    12k Views
    G
    K dude, i love you :-) 10x! PS Still, what i said earlier about having a property directly in the Qt socket class (at least for UDP) would definitely be nice, so i'll leave my "cry for help" there, maybe the Qt developers will take notice (yeah, that's a pretty long shot for chasing a short TTL, i know :)
  • [solved] Images Not Showing in Deployment.

    15
    0 Votes
    15 Posts
    16k Views
    A
    Signals and slots can in a limited way be connected through the designer interface of Qt Creator. Only signals and slots inside the form you are creating (that is, between the widgets that you have put on the form) can be connected. For other signals and slots, you need to make the connections in code.
  • How I can add debuger to new QT Creator 2.2 ???

    8
    0 Votes
    8 Posts
    4k Views
    A
    Thanks Tobias Hunger my post http://antyadev.blogspot.com/
  • Simply creating a document in colour

    14
    0 Votes
    14 Posts
    5k Views
    A
    OK, fair enough: "Make list of supported QTextDocumentWriter formats extendible":http://bugreports.qt.nokia.com/browse/QTBUG-18570 "Add support for RTF to QTextDocumentWriter":http://bugreports.qt.nokia.com/browse/QTBUG-18571
  • Creating events instead of signals/slots

    30
    0 Votes
    30 Posts
    15k Views
    G
    Another solution (which I personally prefer) is to make a "Controller" object (derived from QObject) which encapsulates the non Qt interface (your C-backend) in a "facade design pattern":http://en.wikipedia.org/wiki/Facade_pattern . This goes to the direction -Andrea- Andre posted before the state machine. This controller object then sends signals which can be connected to anyone, who needs to know them... This is something we do often here with COM interfaces we have to use. It works well. Edit: my name is Andre
  • Non Native Gui

    4
    0 Votes
    4 Posts
    3k Views
    K
    okay I will look into those thank you.
  • Post data to php form

    9
    0 Votes
    9 Posts
    14k Views
    D
    You're absolutely right -- perhaps I expressed myself badly before. You CAN do it as of now using QNetworkAccessManager. The only culprit is that in 4.7 there's nothing to help you for making multipart/form-data POST requests. application/x-www-form-urlencoded POST requests are easy to deal with (by hand or using QUrl).
  • Scaling problems in Ubuntu using QPixmap and QPainter

    8
    0 Votes
    8 Posts
    5k Views
    Z
    Ah OK I think I understand now. I am not entirely sure what the limiting factor is in the rate at which mouse mouse events are generated. It could well be tied into the resolution used by your X mouse driver - probably a setting in xorg.conf but depend on which version of X you have - one day they'll settle on a configuration method ;-). One thing to try would be to try changing the mouse driver resolution and seeing if that affects the frequency of your mouse move events. Let us know how you get on.
  • Bounding Text Being Rendered Using QPainter?

    5
    0 Votes
    5 Posts
    4k Views
    D
    Actually I was replying to OP, edited the post to make that clear.
  • Unresolved externals in QtSql.lib (VS 2010 x64 Build)

    9
    0 Votes
    9 Posts
    7k Views
    W
    For what it's worth I agree with Raul, a serious waste of time, effort and no doubt money. If it's of any help make sure you link with the odbc libraries found in your Windows SDK. This should of course happen by default assuming your SDK's library path in referenced in your environment. -- Regards, William
  • QRegExp for Searching HTML Files?

    5
    0 Votes
    5 Posts
    3k Views
    A
    Good point. I think you are right, and QTextDocument::find() is the way to go.
  • QFileSystemWatcher

    10
    0 Votes
    10 Posts
    5k Views
    A
    I have requested "bug 172":http://bugreports.qt.nokia.com/browse/QTBUG-172 be re-opened. That has been done. You can vote for it now, if you want. Don't count on this being fixed any time soon though, seeing that the priority is not that high.
  • Is it possible to auto connect all object's signals to another object?

    9
    0 Votes
    9 Posts
    9k Views
    Z
    Yes that is a good approach too. It depends on the relationship of your objects as to which is more suitable. Anyway you have a few options to try now. :-)
  • How can I observe a custom qobject's slot?

    9
    0 Votes
    9 Posts
    5k Views
    A
    Yes, of course. It would only catch invocations through the signal/slot system. Sorry, I missed that part in your post.