Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • Crash on language change caused by auto generated code when using a QTableWidget

    Unsolved
    2
    0 Votes
    2 Posts
    383 Views
    mrjjM
    Hi And if you in the process, completely delete ui_QtGuiApplication1.h and rebuild build all ? It sounds like some code left overs. "This is because the code doesn't test if the QTableWidgetItem * " Why would it be NULL ? If you delete from the UI (visually) that code should no longer be there.
  • How to return terminal screen after application quit?

    Locked Unsolved
    2
    0 Votes
    2 Posts
    171 Views
    J.HilkJ
    please do not double post the same question locked as duplicate of https://forum.qt.io/topic/107941/how-to-return-terminal-screen-after-application-quit
  • UDP client server

    Solved
    5
    0 Votes
    5 Posts
    939 Views
    S
    @sierdzio Thanks for the clarification
  • Example with KDSoap

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    Pablo J. RoginaP
    @nitoman said in Example with KDSoap: I have solved the problem great! please mark your post as solved. Thanks.
  • Record every button click of the user and store it in a function

    Solved
    3
    0 Votes
    3 Posts
    342 Views
    M
    hi, thank you its a good idea to use QNetworkAccessManager its looks very helpful Class i started working on it . thank you .
  • QIBASE driver not loaded

    Unsolved sql ibase firebird plugin
    2
    0 Votes
    2 Posts
    2k Views
    Christian EhrlicherC
    Make sure that all needed dlls are found when trying to load the ibase plugin -> check with Dependency Walker if the ibase plugin has all it's dependencies available.
  • Default QPalette::Text is the same for QPalette.Active and QPalette::Disabled?

    Unsolved
    1
    0 Votes
    1 Posts
    192 Views
    No one has replied
  • After 2 weeks and no changes, it shows 1k problems, which did not exist before

    Unsolved
    3
    0 Votes
    3 Posts
    280 Views
    mrjjM
    Hi Also, check you did not create any cyclic includes adding the new feature. That would be like the new .h file includes other .h from the project that also includes the new features .h Or similar.
  • Load a directory into a qt-creator project

    Solved
    5
    0 Votes
    5 Posts
    476 Views
    B
    @mrjj thank you so much! this solved my problem.
  • QNetworkRequest / QNetworkReply issue with 5.13.1?

    Unsolved
    12
    0 Votes
    12 Posts
    908 Views
    A
    @Christian-Ehrlicher That is exactly what I am doing :) Hopefully I will have a very stripped down version of the program I can test soon. Thanks for all your help!
  • TableWidgets

    Unsolved
    3
    0 Votes
    3 Posts
    321 Views
    M
    I've been using Pascal, almost exclusively, since 1986. Thirty-three years later, I'm 99% sure that I'd like to try my hand at C++. Off topic, but why?
  • qmake uses wrong gcc version. How to change gcc version used?

    Unsolved
    3
    0 Votes
    3 Posts
    4k Views
    M
    Put these in your .pro file. QMAKE_CC = gcc-??? QMAKE_CXX = g++-??? Where "???" is gcc and g++ version you want to use. These links are usefull by the way: https://linuxize.com/post/how-to-install-gcc-compiler-on-ubuntu-18-04/ https://stackoverflow.com/questions/29159520/how-does-qmake-determine-the-compiler-to-use-in-makefile By Setting QMAKE_CC and QMAKE_CXX you do not need to use "update-alternatives" command each time that you switch between projects. (you may want one project compile with g++7 and the other with g++8)
  • [Solved]How to generate random number between two numbers? Qt

    10
    1 Votes
    10 Posts
    70k Views
    V
    Or modern Qt: https://doc.qt.io/qt-5/qrandomgenerator.html :)
  • How to view Backtrace / Stacktrace?

    Solved
    5
    0 Votes
    5 Posts
    10k Views
    aha_1980A
    Hi @AwesomeBoxhead, so if your problem is solved, please don't forget to mark this topic as SOLVED too. Thanks!
  • Qtabwidget addtab duplicates tab on second click

    Solved
    3
    0 Votes
    3 Posts
    452 Views
    U
    Christian Ehrlicher, Thanks. Removing the "else if" and returning "true" in the control_tab() fixed.
  • This topic is deleted!

    Unsolved
    3
    0 Votes
    3 Posts
    3 Views
  • Gherkin syntax highlighting in Qt Creator. How?

    Solved
    4
    0 Votes
    4 Posts
    396 Views
    B
    @JKSH thanks. Will do it by my own. Issue closed.
  • Compile for linux target from windows.

    Unsolved cross compile linux gcc
    2
    0 Votes
    2 Posts
    2k Views
    K
    @Lior Hi and welcome to devnet forum Do you have a cross-compiler for cross-compilation on windows for linux? There are certainly cross-compilers available. You would have to cross-compile Qt libs with that cross-compiler. After this you can use the cross-compile toolchain and do a cross-compilation for your applications. My personal recommendation is to use virtual machine e.g. VirtualBox and setup the linux environment. Use Qt creator on linux and on windows. You will have the same look and feel in both environments. That is how I do my developments. All is done on windows. However, targeting linux desktop and embedded linux I do the compilation on linux desktop. The reason is lesser pain.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    16 Views
    No one has replied
  • Prevent QDialog from hiding

    Solved
    5
    0 Votes
    5 Posts
    503 Views
    krzysieklfcK
    @mrjj I'm using QPropertyAnimation on a windowOpacity property. I shared the code in the answer here. I also added dark overlay effect. [image: 8c643521-ae4b-4f8e-bc80-24600a6ce383.gif]