Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.5k Topics 457.3k Posts
  • Subclassed QPlainTextEdit, how can call in other class?

    Solved
    13
    0 Votes
    13 Posts
    3k Views
    mrjjM
    @Panoss Well the normal signal does not have QString but in a subclass you could easy make a new signal that would have and then emit it in the subclass and it would be as you wanted.
  • QTableView does not refresh properly

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    P
    After "database().commit();" I put "types_tbl_model->select();" and now it refreshes properly. But, is this the correct solution?
  • I need help ; the connect() is not working.

    Solved
    4
    0 Votes
    4 Posts
    573 Views
    B
    Thank you. I solved the problem.
  • How to insert a combobox to QTextTable cell or QTextEdit?

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    P
    context menu does the trick. Thank you very much.
  • Weird mouse behaviour in Qt 5.8

    Unsolved
    12
    0 Votes
    12 Posts
    2k Views
    SGaistS
    Yes and I am not able to reproduce this.
  • Static build Qt application with dynamic link with 3rd party library.

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    S
    @VRonin Thank you for your detail explain. It sounds clearer now.
  • How to update promoted widget of new window when show it?

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    M
    @beqa You are welcome =)
  • Customize window frame

    Unsolved
    12
    1 Votes
    12 Posts
    46k Views
    S
    That's why you explicitly override the native window style flags after setting Qt::FramelessWIndowHint. By restoring the style flags and handling the related native frame (nonclient area in Windows terms) events, you can have a custom frame (or no frame) and still retain the normal window behavior.
  • MVC and Qt?

    Solved
    10
    0 Votes
    10 Posts
    5k Views
    M
    Good ! Thanks @kshegunov
  • External WM_DESTROY received... PROBLEM

    Unsolved
    1
    0 Votes
    1 Posts
    841 Views
    No one has replied
  • Proportion Issue for Qt High-dpi Scaling

    Unsolved
    1
    0 Votes
    1 Posts
    523 Views
    No one has replied
  • Intialize circular buffer of Boost Library as member class Linux

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    A
    Really thanks!!!!!!!!!!
  • What is the correct debug steps ?

    Unsolved
    8
    0 Votes
    8 Posts
    2k Views
    kshegunovK
    @J.Hilk said in What is the correct debug steps ?: it very rarely shows you assamble code as the crash-point. It will show you the assembly, if there's no associated source code, for example trying to debug release builds.
  • Crash in QEventDispatcherUNIX with Qt 5.8 on OSX

    Unsolved
    2
    0 Votes
    2 Posts
    533 Views
    kshegunovK
    Hard to tell as some of the calls are optimized out. By the way what does the message say (you should get one on the standard output from the QMessageLogger::fatal call?
  • How to properly resize a costum QTableView with a costum QHeaderView

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    F
    Hi, I found my problem. I forgot the reimplement the Qt::SizeHintRole for the "QAbstractTableModel::headerData(...)" method. therefore the QHeaderView didn't know which size each section had and made wrong assumptions! Thanks anyway for th reading of the post. Greetings FlyingHubert
  • MouseEvent propagation Parent -> Child

    Solved
    8
    0 Votes
    8 Posts
    8k Views
    J.HilkJ
    Of course, took me forever to find the problem. The absolut top central Widget -QMainWindow- had the StyleSheet set to background-color:white; That overwrote my custom widget. Sometime its just 3 little words..... I don't even remember writing them. Anyway thanks all for your help :)
  • How to get the default value of a property

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    Entw PmoE
    OK, thanks.
  • Current year in Qt pro file

    Solved
    10
    0 Votes
    10 Posts
    3k Views
    jsulmJ
    @Cobra91151 date +%Y is for Linux, that's why I asked about Windows :-)
  • adjustSize() fuzziness - what is it actually doing?

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    VRoninV
    I think you are doing it in the wrong place. This calculation should be done in the layout, subclass QLayout (see http://doc.qt.io/qt-5/layout.html#how-to-write-a-custom-layout-manager) and do the resizing in setGeometry.
  • Qt WebEngine 5.8 & Proprietary codecs with Visual Studio 2015

    Solved vs2015 qtwebengine
    3
    0 Votes
    3 Posts
    3k Views
    E
    Looks like adding the use_proprietary_codecs define in .qmake.conf is not allowed by design?, i need to add these changes in order qt 5.8 to pick up the additional WEBENGINE_CONFIG : #Edit ..\qt-everywhere-opensource-src-5.8.1\qtwebengine\.qmake.conf #Add WEBENGINE_CONFIG += use_proprietary_codecs #Edit ..C:\QT-Build\qt-everywhere-opensource-src-5.8.1\qtwebengine\configure.json #Line 45 "autoDetect": false, into "autoDetect": true,