Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.5k Posts
  • Xcode 4 support in Qt 4.8.0?

    6
    0 Votes
    6 Posts
    4k Views
    G
    The "release notes":http://qt.nokia.com/products/changes/changes-4.8.1 state: bq. Add support for XCode 4 into qmake [QTBUG-17247]
  • Is Qt available under two or three licenses?

    3
    0 Votes
    3 Posts
    1k Views
    A
    3 licences are available (more, actually, but let's ignore the rest). Just download the sources, and check for LICENCE files. You can also check any source file. It mentions LGPL 2.1, GPL 3 and "other usage" (meaning: commercial license).
  • Possibility to apply Transitions/Animations to QToolBox?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Set a video as background

    7
    0 Votes
    7 Posts
    4k Views
    A
    Please practise some patience. It is not acceptable to kick your topic within a reasonable time period. At least allow a few days for people to answer, a week is generally accepted as a time when it is acceptable to kick your topic like this. On using a video as a background: It is certainly not supported using style sheets. If you can do it at all, it will have to be done manually, by placing your widgets over a video view. I have no idea how that will perform, or what kind of visual glitches you can expect.
  • [SOLVED]How to disable Scrollbars on QWidget

    3
    0 Votes
    3 Posts
    12k Views
    A
    Thanks Jake it worked for me...
  • Persistent threading with Qt

    8
    0 Votes
    8 Posts
    5k Views
    R
    The operating system is calling my c function. Very often. I DO NOT want the thread pool to delete any threads when the work is finished. I don't see how QMutex or QWaitCondition can be used for blocking until threads have completed the current work assigned to them for the current C_Callback)function call. if you think this can be done, I'd like to see some code to demonstrate this. The devil is in the details...
  • [solved]what dll files will my Qt app require??

    9
    0 Votes
    9 Posts
    6k Views
    S
    if you still have that problem SeedOfLife.i just added the .dlls for the Qt modules i was using in my application and in addition i also added the compiler specific dll i was using MingGw so i include the dll that d2uriel has mentionde in his post above.sorry for late reply
  • QToolbox remove item

    4
    0 Votes
    4 Posts
    5k Views
    A
    And then just delete the item.
  • Are text descriptions posible?

    15
    0 Votes
    15 Posts
    5k Views
    R
    The spacing issue comes from HTML <p> margin style, which if not set, is defaulted to some value. However, I advice you to make all your texts as HTML templates, since they are static, they will only have color template for highlighting. I took my scale.txt file and duplicated it's text twice - no spacing issue with the same executable.
  • Show a BMP image after a video player

    2
    0 Votes
    2 Posts
    2k Views
    J
    You connect the signal finished from video player to your slot finished, load image to QPixmap and add it to you graphics view or whatever you have. "Signals and slots":http://doc.qt.nokia.com/4.7-snapshot/signalsandslots.html And take a look "here":http://qt-project.org/forums/viewthread/13613/, how to display QPixmap on QGraphicsScene Regards, Jake
  • KeyPressEvent while dragging

    8
    0 Votes
    8 Posts
    4k Views
    S
    Yes it seems that the keyPressEvent() function is blocked when dragging an item from the list/table. But, if you press "escape(Esc)" on the keyboard the dragging of item is cancelled ,still keyPressEvent is not fired.
  • Embedding Qwidget into X11 window using X11 programming

    3
    0 Votes
    3 Posts
    5k Views
    M
    @sruthihsr: Please can you tell where do you insert XMapRaised ?
  • About Qt pressure support on Pen/Mouse tablets (Wacom, Genius, etc)

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Is the QStandarditemModel - finditems() fast?

    2
    0 Votes
    2 Posts
    2k Views
    A
    well, why don't you check the source code to see how it is implemented?
  • How to create virtual SLOT for action

    4
    0 Votes
    4 Posts
    3k Views
    B
    Thanks RaubTieR. Works great.
  • Using QSqlRelationalTableModel issue

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Qtimer event Slot 1 minute before

    6
    0 Votes
    6 Posts
    4k Views
    E
    ok thanks all for your helps.
  • Adding notes to class pages?

    13
    0 Votes
    13 Posts
    5k Views
    F
    Env: Qt 4.7, OS X 10.6.8, 8 cores, 8 gb, 3 GHz, Macpro, three PCI display cards, six monitors. Behavior is the same on my laptop, though, which is pretty different other than OS. I have: @ CPlotter::CPlotter(QWidget *parent) : QFrame(parent) { setMinimumHeight(384); setMinimumWidth(1280); QSizePolicy policy( QSizePolicy::Expanding, QSizePolicy::MinimumExpanding ); setSizePolicy(policy); setMinimumHeight(384); setMinimumWidth(1280); etc... @ ...and... @ class CPlotter : public QFrame { Q_OBJECT public: explicit CPlotter(QWidget *parent = 0); ~CPlotter(); ...etc @
  • Prevent Translation of Property

    2
    0 Votes
    2 Posts
    2k Views
    M
    replace the line <string>TextLabel</string> with <cstring>TextLabel</cstring>
  • Random crash when the program starts

    19
    0 Votes
    19 Posts
    8k Views
    D
    Hi, After some years of research, i think i've found the problem. The variable that contains a crazy value is initialized in the first thread. And, this variable is used in the second thread. When the program starts, it do that : @lesLiensEtDebits.Traiter(index); lesObs.Traiter(TraitementObs::DROPSETCHARGES);@ NOTE : Traiter( ... ) is a method which start the thread with start(). I put one cout where the 1st thread begin, and another when the 2nd one begin too. When the program starts successfully, there is "one" and "two" at the output. When the program CRASHS, there is "two" and "one" !! IT'S CRAZY ! The second thread began before the first one !! So, i trying to do that correctly, so something like @lesLiensEtDebits.traiter(index); connect(&lesLiensEtDebits, SIGNAL(finished()), &lesObs, SLOT(Traiter(TraitementObs::DROPSETCHARGES)));@ But the program said me an error , it don't find this slot.. The slot is @ void Traiter(TraitementObs::type _choix );@ So i want to pass a parameter in the slot, i don't know if we can do that. Any idea for how to start the 2nd thread AFTER the 1st one finished ? Thanks for your help,