Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • 0 Votes
    3 Posts
    3k Views
    G
    You are not forced to use XCode or Visual Studio as your IDE together with the InDesign SDK. You must use the toolchains stated in the SDK though, that is the Visual Studio compilers (on Windows) and gcc (on the Mac) and you must use the versions specified. There's a big but: The SDK samples and docs provide sane default settings for the compilers, add the correct libraries etc. You must add exactly those settings to your Creator settings. I'm not sure if it's worth the effort. For my InDesign plug ins I stick to XCode and VS.
  • [closed] how to save two parent items in proper format

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    G
    Closed. This is a duplicate of "this thread":http://developer.qt.nokia.com/forums/viewthread/11071. Do not double post in order to push your problem Wait at least a couple of days and extend the time if a there's a weekend before pushing your topic If there is no answer, it may be that your qustion was not clear to the audience in general I recommend reading "this page":http://www.catb.org/~esr/faqs/smart-questions.html
  • CloseEvent gives invalid use or incomplete 'struct QCloseEvent'

    5
    0 Votes
    5 Posts
    7k Views
    A
    @ #include <QCloseEvent> @ at the top of your implementation file should do it.
  • Problem while moving an object to a new thread

    3
    0 Votes
    3 Posts
    4k Views
    S
    Thank you Franzk for this wonderful link. It's quite insightful although it didn't solve my problem. However, as a workaround I have used pull strategy to pull data out of the audio device into my buffer which resulted in the behavior which I wanted (I still have no clue what happened though).
  • How to Debug Lib

    9
    0 Votes
    9 Posts
    6k Views
    Z
    [quote author="bobekfpj" date="1319738311"] I have the same problem with creator 3.2.1 So far after i updated my qt to newest version the whole thing sucks [/quote] I assume you mean 2.3.1. If this is reproducible then please file a bug including exact instructions on how to trigger it including the platform and toolchain in use.
  • Strange OpenGL initialization error in Linux

    2
    0 Votes
    2 Posts
    2k Views
    Z
    I can't tell from what you have posted above. Could you extract a small compilable example that reproduces the problem please? What GPU card and drivers are you using? It's odd because creating a QGLContext with a default QGLFormat is essentially all that QGLWidget does anyway.
  • Show multiple items in QToolBox at the same time?

    3
    0 Votes
    3 Posts
    5k Views
    W
    Nmmmm... Writing one myself? Not bad. Thanks!
  • QTableWidget and Qt Designer

    2
    0 Votes
    2 Posts
    4k Views
    R
    Nope. It's bad tone to resizing window instead of resizing content.
  • [SOLVED] How to get QComboBox arrow width?

    7
    0 Votes
    7 Posts
    5k Views
    R
    Thanks a lot! This works for me: @QStyle *pStyle = style(); QStyleOptionComboBox opt; opt.initFrom(this); QRect rc = pStyle->subControlRect(QStyle::CC_ComboBox, &opt, QStyle::SC_ComboBoxArrow, this); qDebug()<<rc.width();@
  • Failing qobject_cast

    33
    0 Votes
    33 Posts
    23k Views
    A
    [quote author="tallia1" date="1319874092"]Actually I already run into this before :) It is needed, basically you can only qobject_cast to what you have declared as being a Q_INTERFACES. Anything else will fail :)[/quote] That is only true for non-QObjects, AFAIK. As your model is already a QObject, there is no need for it.
  • Using a slot without firing a signal from that function?

    2
    0 Votes
    2 Posts
    2k Views
    K
    Did you see that there is an "undo functionality":http://doc.qt.nokia.com/4.7/qlineedit.html#undo available? That seems to be what you are looking for. Unfortunately there is not a lot of documentation, what is really does.
  • Qt drawing lines

    6
    0 Votes
    6 Posts
    6k Views
    G
    I would start to google for some autorouting autolayouting code for that. Qt does not have that build in.
  • libvlc_exception_t has not been declared

    2
    0 Votes
    2 Posts
    6k Views
    R
    Well your problem seems more VLC related than Qt but hey... Make sure that you use the following: @ include <vlc/libvlc.h> @ It will include <vlc/libvlc_structures.h> which defines libvlc_exception_t.
  • Problem in copying data from One QListWidget into another QListWidget

    4
    0 Votes
    4 Posts
    5k Views
    G
    Your class MainDlg does not have slots storeCopiedObject adn sendStoredObject. I suspect the connects to fail.
  • QTestlib and user command line arguments

    2
    0 Votes
    2 Posts
    3k Views
    F
    You have to write a custom main function and parse the arguments before you pass them to the exec function.
  • [Resolved]Unable to read my txt file.

    6
    0 Votes
    6 Posts
    11k Views
    L
    I put my test.txt file in the application ressources. Thank for the help.
  • Cleaning up my Qt installation

    13
    0 Votes
    13 Posts
    5k Views
    mzimmersM
    Done, and it seems to work OK. In my Tool Chain, I have something called Maemo 6 GCC. It's the last of my auto-detected chains. What is it, do I need it, and if so, should it be ahead of the others? Thanks. I also have something called MeeGo 1.2 Harmattan in my Qt Versions; do I need this?
  • [Self-Solved]QTableView selected row color

    2
    0 Votes
    2 Posts
    4k Views
    P
    just reimplements the drawdisplay() in the delegate and make drawfocus() is empty function.
  • QPainter drawText on a QImage: Wrong text color???!!!

    2
    0 Votes
    2 Posts
    11k Views
    R
    Did you try to draw text on usual image loaded to tmpImage? Why you use Format_ARGB32_Premultiplied? Video didn't has alpha layer.
  • Apple System Services and Qt.

    9
    0 Votes
    9 Posts
    5k Views
    E
    [quote author="Volker" date="1319803919"]If you want to include your App bundle into another one, just copy it there. See this "recent thread":/forums/viewthread/11058 for a similiar problem.[/quote] Yes, I just have to do so.