Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.5k Topics 457.3k Posts
  • QTextDocument getting a specific column to change its font

    1
    0 Votes
    1 Posts
    636 Views
    No one has replied
  • Qwt on Windows Xp

    4
    0 Votes
    4 Posts
    2k Views
    mrdebugM
    Solved adding DEFINES += QWT_DLL in .pro file
  • 0 Votes
    14 Posts
    8k Views
    S
    Done...... I had to make few changes to the code and it works now :) Thanks hpollak :)
  • TCP server, show only the selected clients messages

    3
    0 Votes
    3 Posts
    2k Views
    T
    yes i have created @QList<QTcpSocket*> client_list;@ and append every client in it.
  • Odd compiler error on a signal & slot

    3
    0 Votes
    3 Posts
    2k Views
    N
    Thanks for the help. The problem was in the private declaration of the slot. I didn't have to think about it very hard after you pointed it out why it made no sense to declare it as private. BTW, I did have Q_OBJECT included, I just didn't show it in the snippets. thx again!
  • Network Status.

    5
    0 Votes
    5 Posts
    2k Views
    M
    Do you really have a guarantee that @tempList[0]@ is really your physical ethernet port?
  • Qt: Fails to display drives using QSystemStorageInfo

    11
    0 Votes
    11 Posts
    4k Views
    S
    Hey I went through it yesterday itself. It gives me the same thing which my code displays. Damn I am really frustrated with this...... I have been goggling like anything from yesterday and didnt even find ONE post were people have come across this scenario :/ [quote author="DRAX" date="1355234958"]Ok then, you need to implement it. Give to each drive letter corresponding subelements. This should give you idea how to do it: "http://www.java2s.com/Code/Cpp/Qt/QTreeViewdemoandQStandardItem.htm":http://www.java2s.com/Code/Cpp/Qt/QTreeViewdemoandQStandardItem.htm [/quote]
  • QAudioInput -- error underrun? HOW?

    6
    0 Votes
    6 Posts
    4k Views
    G
    Bug report at "https://bugreports.qt-project.org/browse/QTBUG-28530":https://bugreports.qt-project.org/browse/QTBUG-28530
  • The good old microseconds problem [SOLVED]

    7
    0 Votes
    7 Posts
    13k Views
    S
    Understood. Thanks for the explanation! I will be more careful. Thanks. ;)
  • Phonon/qmusicplayer: Play sound files failed when using decodebin2 pipe

    3
    0 Votes
    3 Posts
    2k Views
    X
    Below are some debug info when play the audio file failed: root@localhost:/> PHONON_GST_DEBUG=3 ./qmusicplayer -qws "PGST(2): Using GStreamer 0.10.21" "PGST(2): AudioOutput using alsa audio sink" "PGST(3): Found new audio device default (DeviceManager 0xdcd10)" "PGST(2): AudioOutput Using fake audio sink" "PGST(3): Found new audio device hw:0,0 (DeviceManager 0xdcd10)" "PGST(2): AudioOutput using alsa audio sink" "PGST(2): virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(int)0 (AudioOutput 0xae660)" "PGST(2): Backend connected Phonon::Gstreamer::MediaObject to Phonon::Gstreamer::AudioOutput" QDesktopServices::storageLocation 4 not implemented "PGST(2): Begin source load (MediaObject 0x204100)" "PGST(2): Audio track connected (MediaObject 0x204100)" "PGST(3): Bus: state-changed (typefind) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (decodebin21) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (filesrc0) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (pipeline1) (MediaObject 0x204100)" "PGST(3): gstreamer: pipeline state set to ready (MediaObject 0x204100)" "PGST(3): Bus: state-changed (wavparse0) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (typefind) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (filesrc0) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (fakesink4) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (tee2) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (queue3) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (bin3) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (tee2) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (queue3) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (decodebin21) (MediaObject 0x204100)" "PGST(3): Bus: tag (wavparse0) (MediaObject 0x204100)" "PGST(2): Meta tags found (MediaObject 0x204100)" "PGST(3): Bus: state-changed (fakesink4) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (bin3) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (pipeline1) (MediaObject 0x204100)" "PGST(2): gstreamer: pipeline state set to paused (MediaObject 0x204100)" "PGST(2): Stream is seekable (MediaObject 0x204100)" "PGST(2): phonon state request: Stopped (MediaObject 0x204100)" "PGST(3): Bus: async-done (pipeline1) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (fakesink4) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (tee2) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (queue3) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (bin3) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (wavparse0) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (typefind) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (decodebin21) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (filesrc0) (MediaObject 0x204100)" "PGST(3): Bus: state-changed (pipeline1) (MediaObject 0x204100)" "PGST(2): Audio track connected (MediaObject 0x13f020)" "PGST(2): Begin source load (MediaObject 0x13f020)" "PGST(2): phonon state changed: Stopped (MediaObject 0x204100)" "PGST(3): gstreamer: pipeline state set to ready (MediaObject 0x204100)" "PGST(3): Bus: state-changed (typefind) (MediaObject 0x13f020)" "PGST(3): Bus: state-changed (decodebin20) (MediaObject 0x13f020)" "PGST(3): Bus: state-changed (filesrc1) (MediaObject 0x13f020)" "PGST(3): Bus: state-changed (pipeline0) (MediaObject 0x13f020)" "PGST(3): gstreamer: pipeline state set to ready (MediaObject 0x13f020)"
  • QInputDialog::getDouble() does not inherit Locale from parent

    2
    0 Votes
    2 Posts
    1k Views
    M
    review OS local user Setting to check if it enable full American setting if u work on windows there are tow level of local setting review again.
  • Using QFileSystemModel along QTreeView and QTreeWidgetItem

    4
    0 Votes
    4 Posts
    4k Views
    D
    Bumping the thread... Still haven't found anything to do this.
  • 0 Votes
    9 Posts
    6k Views
    G
    I have solved all of my problems by directly placing widgets in the scroll frame rather than trying to use layouts... works great
  • Qthread and movetothread

    5
    0 Votes
    5 Posts
    12k Views
    I
    It's a not very good solution cause when you start doWork you can't stop it till it finished. You can try to modify your example by starting your work with singleshot timer after thread is started. @QTimer::singleShot(0, w, SLOT(doWork());@ and remove @connect(&t, SIGNAL(started()), &w, SLOT(doWork()), Qt::DirectConnection);@ Also, as I understand, you should use auto or queued connection here, cause worker and thread are in different threads. @connect(&w, SIGNAL(finished()), &t, SLOT(quit()));@
  • Qlist error on windows

    8
    0 Votes
    8 Posts
    5k Views
    F
    How did you initialize your QList object? If you need help, provide some of your coude where the QList is used. Probably it's not a Qt issue but a C++ one.
  • SerialPort class using signals and slots within a thread

    1
    0 Votes
    1 Posts
    983 Views
    No one has replied
  • [solved]Stylesheet the native menubar ?

    4
    0 Votes
    4 Posts
    2k Views
    EddyE
    Nice to hear you are getting further. If you consider this topic solved, please edit your first topic and add [solved] to it. Thanks
  • QPointer in Qt Creator Debugger

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Assert() dialog now being displayed

    6
    0 Votes
    6 Posts
    3k Views
    G
    OK I filled a bug report with a simple reproducible case, let's see if it will be processed, fingers crossed :) https://bugreports.qt-project.org/browse/QTBUG-28513
  • 0 Votes
    1 Posts
    3k Views
    No one has replied