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] Writing XML with QDom

    1
    0 Votes
    1 Posts
    576 Views
    No one has replied
  • [SOLVED] How to rename a directory?

    4
    0 Votes
    4 Posts
    7k Views
    Q
    Alright, so I did some more testing and it appears that just creates a new folder with the new name, but none of the files are inside and the old folder with the old name is still there. So all it does is create a new empty folder. EDIT: Nevermind, I was doing it wrong :S
  • The GUI is not displayed on the screen.

    2
    0 Votes
    2 Posts
    605 Views
    jeremy_kJ
    If working normally means that the GUI was being displayed prior to some change, try undoing parts of the change piece by piece until it works again. If not working is frustrating, you can also reverse the order and go from a working program forward until it breaks. Alternatively, can we get some more information such as the Qt version, OS, and a small example that demonstrates the issue?
  • Unable to dowD 9 i

    3
    0 Votes
    3 Posts
    641 Views
    SGaistS
    Hi and welcome to devnet, In addition to chrisaverage, there's this "tool":https://github.com/JKSH/QtSdkRepoChooser to help
  • Calling the MainWindow UI from another class

    4
    0 Votes
    4 Posts
    1k Views
    T
    Can you post some code?
  • [FIXED][Qt5] QSound won't play any sound

    3
    0 Votes
    3 Posts
    3k Views
    Arty.McLabinA
    [quote author="JKSH" date="1411832071"]Hi, How did you run your application? Note that QSound and QSoundEffect are old classes which cannot play compressed files (like MP3 files). See their documentation: http://qt-project.org/doc/qt-5/QSound.html http://qt-project.org/doc/qt-5/QSoundEffect.html If you want to play MP3 files, use QMediaPlayer.[/quote] *thanks for the note, yet it's not about the mp3, wav won't work just as well. also seems like i did fix it with the QMediaPlayer class, thanks for that.
  • How I can put an interface into another interface?

    2
    0 Votes
    2 Posts
    547 Views
    E
    this is for a university class, not that you speak
  • QSortFilterProxyModel dont filter my treeview

    1
    0 Votes
    1 Posts
    571 Views
    No one has replied
  • 0 Votes
    2 Posts
    907 Views
    SGaistS
    Hi, It's not the parenting that is the problem. The first thing to do is run your application through the debugger to identify where exactly it crashes.
  • 0 Votes
    6 Posts
    3k Views
    G
    Please make sure you keep the code as it is now (i.e. make a snapshot) and, should later versions of Qt crash, create a bug report specifying your history (the kinds of crashes in versions earlier that 5.3.1, the crash in 5.3.1, and the fact that it no longer crashes in 5.3.2), this is important as regressions do occur in Qt. If you think you can find the time for this, it would also be worth it to create a bug report to alert the developers about this issue (i.e. your code works in 5.3.2 but crashes in 5.3.1 and previous), it happens sometimes that a bug is "inadvertently" fixed when some related code changes are made, all without the developers not even knowing. PS There's also another possibility: you are actually doing something wrong in there, and 5.3.2 is simply no longer catching the problem which does exist in your code.
  • Basic water animation 2D

    1
    0 Votes
    1 Posts
    790 Views
    No one has replied
  • Transparency when using Qt in MFC application

    2
    0 Votes
    2 Posts
    935 Views
    M
    Nobody at all had my same issue ? Thanks a lot for the help.
  • How to display the data in a tableview?

    2
    0 Votes
    2 Posts
    900 Views
    SGaistS
    Hi, You have several possibilities: Custom QStyledItemDelegate Custom QIdentityProxyModel Hope it helps
  • QT Application icon disappears after application restart

    6
    0 Votes
    6 Posts
    2k Views
    SGaistS
    Then you should also check with the Gnome people
  • [SOLVED] Show Widget in UnitTest - Qt 5.3

    8
    0 Votes
    8 Posts
    2k Views
    SGaistS
    You're welcome ! Nice you found a solution ! Since it's all working now please update the thread title prepending [solved] so other forum users may know a solution has been found :)
  • QPlainTextEdit resize() does not seem to work

    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi and welcome to devnet, If you want your widget to have a precise size you should rather use setFixedSize or in your case setFixedWidth.
  • The working GUI daemon for Linux. Need idea how to make it for Windows.

    2
    0 Votes
    2 Posts
    872 Views
    SGaistS
    Hi, You might be interested by the QtService from the "QtSolutions":https://qt.gitorious.org/qt-solutions/qt-solutions/source/fd22bee22274975c56f1c10d87ee9fd2c0818f83:qtservice repository Hope it helps
  • Using Qt signals and slots with multiple inheritance

    5
    0 Votes
    5 Posts
    12k Views
    B
    I guess this is an old post but just wanted to add that harryF's solution (i.e. pass in a pointer to the concrete class to the interface and do all the connections off that pointer) is pretty much exactly the same solution I implemented on a project I worked on recently.
  • Just got a very disturbing reply from a legit thread

    3
    0 Votes
    3 Posts
    773 Views
    A
    [quote author="SGaist" date="1411747734"]Hi, It's just someone trolling the site for some times now. Please, report this kind of spam so it can be cleaned up[/quote] I'll take a stab at it
  • Access violation in QListData::prepend()

    1
    0 Votes
    1 Posts
    874 Views
    No one has replied