Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • [SOLVED] Get parameter from QStackedWidget

    3
    0 Votes
    3 Posts
    1k Views
    E
    That's the line I was looking for, thank you very much! You are absolutely right, of course I have to check whether the pointer is valid or not.
  • QCalendarWidget in Year view

    3
    0 Votes
    3 Posts
    842 Views
    freddy311082F
    thank you very much for your answer.. best regard
  • QFileDialog doesn't show any content on ubuntu

    3
    0 Votes
    3 Posts
    913 Views
    W
    @SGaist: Thanks for your reply. Found a workaround. Just lunch the application using a different style by ./IfcPlusPlusViewer -style=fusion
  • QNetworkProxy and QWbView - doesn't load pages

    2
    0 Votes
    2 Posts
    2k Views
    C
    Are you sure the free proxy servers you have found from a web site called http://proxylist.hidemyass.com/ are working properly? There was an article about free proxies on HN recently: https://blog.haschek.at/post/fd9bc You may find it interesting.
  • How to timeouts a lot of objects

    5
    0 Votes
    5 Posts
    967 Views
    A
    Works in all of Qt 5.x as long as you have a compiler that support C++/11 or up. So, simply write: @ void caught(int idx) { model->highlightRow(idx); QTimer::singleShot(250, model, idx {model->clearHighlight(idx);}); } @ One thing to take care off: this will cause a crash if model is destructed while there is still a timer running. You can solve that using a QPointer<MyModel> instead of passing a plain pointer to the closure.
  • (resolue) error 1?

    3
    0 Votes
    3 Posts
    658 Views
    H
    sorry, i have found my probleme.... i have put variable in wrong space
  • Qt newbie - distributed architecture advice

    6
    0 Votes
    6 Posts
    2k Views
    JKSHJ
    [quote author="Andre" date="1421408554"]Actually, I find it confusing to thing of signals and slots analogous to events. They are not. Events are targeted at a single receiver for an event. Signals and slots maintain many-to-many relationships.[/quote]I guess all analogies have their imperfections; what works for one person might not work for another. I agree that signals are far more flexible than events, regarding the number of "targets"/"receivers". [quote author="Andre" date="1421408554"]Note that there are other solutions that implement signals & slots across processes and machines already, besides Replicant. The good-old Qxt comes to mind. [/quote]Sadly, libqxt is no longer maintained for newer versions of Qt. [EDIT: Other question split to new thread: http://qt-project.org/forums/viewthread/52178/ --JKSH]
  • No Valid kits found is coming while creating new Qt Console application

    3
    0 Votes
    3 Posts
    4k Views
    JKSHJ
    Hi, and welcome to the Qt Dev Net! [quote author="tarun.iitd" date="1421559159"]I have installed below "Qt Creator 3.3.0 for Windows (71 MB) (info)"[/quote]Uninstall "Qt Creator 3.3.0 for Windows (71 MB)". Like ckakman said, "Qt 5.4.0 for Windows 64-bit (VS 2013, 720 MB)" already contains a copy of Qt Creator. If you open this copy, you will see your kit.
  • SetWindowModified on full screen application

    5
    0 Votes
    5 Posts
    1k Views
    _
    It doesn't work: @ void MainWindow::windowTitle_changed() { qDebug() << this->windowTitle(); } connect(this, &MainWindow::windowTitleChanged, this, &MainWindow::windowTitle_changed); this->setWindowTitle("[*] - Blabla"); this->setWindowModified(true); this->setWindowModified(false); this->setWindowModified(true); @ just prints "[*] - Blabla" once.
  • [SOLVED] How to use QNetworkProxy with QUdpSocket and QTcpSocket

    5
    0 Votes
    5 Posts
    2k Views
    C
    "QNetworkProxy":http://doc.qt.io/qt-5/qnetworkproxy.html#details documentation has better guidance about its usage.
  • Convert QImage to BitmapHandle

    6
    0 Votes
    6 Posts
    2k Views
    A
    I'm sorry, I just tried giving a pointer to some windows-specific things, but I have not used this myself, especially not in combination with activeX.
  • Direction needed (tables)

    17
    0 Votes
    17 Posts
    4k Views
    A
    Thanks SGaist, hearing good news from one source was great, hearing it from two is fantastic. Thanks for the reminder too, I will keep that in mind.
  • QOpenglWindow PaintGL() Native gl calls cause painter to disappear SOLVED

    2
    0 Votes
    2 Posts
    716 Views
    T
    FIxed it by declaring glBindBuffer(GL_ARRAY_BUFFER,0); after releasing the program.
  • QTime stops and do not want to continue

    11
    0 Votes
    11 Posts
    3k Views
    JKSHJ
    [quote author="ckakman" date="1421545003"]They are "frozen" because of a logic error in your code as I explained above.[/quote]Good catch! I need to read more carefully before answering :P
  • Slow Download speed

    10
    1 Votes
    10 Posts
    11k Views
    JKSHJ
    If anyone wants to use the Online installer, use the "Qt SDK Repo Chooser":http://qt-project.org/forums/viewthread/44632 to select a better mirror
  • Is it normally slow when debugging with GDB on Windows?

    16
    0 Votes
    16 Posts
    9k Views
    Y
    OK, I get that. But how do I make it not so slow? It's really slow.
  • 0 Votes
    7 Posts
    1k Views
    C
    Just do one thing at a time, either read or write.
  • Fluidlauncher demo in QML?

    3
    0 Votes
    3 Posts
    793 Views
    D
    Thanks, in the end I went with [removed] jQuery Coverflow https://github.com/vanderlee/coverflow
  • Strange crash when exiting

    3
    0 Votes
    3 Posts
    788 Views
    W
    The box is running 24/7 (used for distributed computing with boinc), no sleep mode or similar. It often happens when I start the program the first time on a day, before that I drink my coffee, read online news, mails and such, so the machine is already busy for a while. Also no screen lock (actually I just blank out the screen, I do not lock) while the program is running.
  • 0 Votes
    3 Posts
    2k Views
    N
    [quote author="ChrisW67" date="1421474895"]bq. Configuration is faulty. Check the issues view for details I assume you are using Qt Creator. What is in the issues view? What error messages are on the Compile output tab leading up to the end of the compile? Do you have a working Microsoft VS 2013 install? Are the VS command line tools in the system PATH visible to Qt Creator?[/quote] Okay I didn't have Microsoft VS 2013 installed. The issue is gone since I installed VS 2013. Though it was a heavy file (6.9 GB). Thanks ChrisW67