Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • Metro aps

    5
    0 Votes
    5 Posts
    5k Views
    O
    This way you dont have to make your own rectangle just pick one you like :D
  • [Solved] setItemDelegateForColumn only works for one column?

    1
    0 Votes
    1 Posts
    6k Views
    No one has replied
  • Many compile errors like: invalid suffix "ui64" on integer constant

    7
    0 Votes
    7 Posts
    9k Views
    G
    I moved the DirektX related comments to the "respective thread":http://developer.qt.nokia.com/forums/viewthread/10105/
  • Read a .mat file without the use of matlab API

    3
    0 Votes
    3 Posts
    8k Views
    J
    Hello Deimos, While searching for a similar solution, I came across your reply. Just wanted to warn that the 'matio' library does not support Matlab level 4 files too well. I just tried it out with a simple file I have, a it just didn't work. I contacted the author and he indicated he'd rather drop level 4 support (admittedly a little old), than patch it up to get it working. John
  • Use Qt's source code's configure.exe on Windows 8?

    4
    0 Votes
    4 Posts
    4k Views
    K
    YMVV, but "here":https://projects.developer.nokia.com/qt_metro/wiki#GettingStarted:CompilingQtonWindows8 are some instructions on building Qt with MSVC11 (includes a list of the missing headers/libs). Also, read the section on patching JSCore if it does not compile for you.
  • PostgresSQL 9.0 support?

    5
    0 Votes
    5 Posts
    2k Views
    D
    What's the point in bringing up a 8-months old thread? The aforementioned bug report by Charles is already closed and the fix shipped in 4.7.2. Can you add new details or what?
  • How to recognize that runtime-loaded *.dll uses Qt?

    7
    0 Votes
    7 Posts
    4k Views
    B
    It seems that the safest solution will be to load unknown dll as separated process. Thanks a lot for your help.
  • Get string value from modified key press

    10
    0 Votes
    10 Posts
    13k Views
    G
    Programming by delegation ... good idea for the weekend approaching ;-P
  • Can we convert Qtgui code to Qt-qml code ?

    4
    0 Votes
    4 Posts
    3k Views
    A
    Yes, but at least with Quick 1.x, you can mix & match. That is: you can use QML for widgets where that makes sense, and keep using the normal QWidgets for other things. That is: you don't have to do everything at once.
  • 0 Votes
    7 Posts
    5k Views
    A
    You can just make your button the default button on the form. @ QButton::setDefault(true); @ That will make it respond to an Enter click anywhere in the form, except when the currently focussed widget accepts the enter key itself (like a QPlainTextEdit widget).
  • How can i prevent my app open multiple times with Qt?

    33
    0 Votes
    33 Posts
    18k Views
    D
    Hello, Sorry to answer late on this post, i didn't notice as it grows ;) ! To make your application to have focus, you can communicate with the process that you made working ( with readyReadStandardOutput()....), then you can send kind of "events" to the app, and itself can then use activateWindow(). This is not a simple way, but as your simple try does not work, i have used this one, and at least it works. altought the behaviour seems different on windows, it is still ok. democrie
  • [SOLVED]Get mainwindows Widgets

    9
    0 Votes
    9 Posts
    8k Views
    T
    Nice. I'll try this. { It works perfectly } Thanks to all
  • Showing my mainwindow from a controller class

    4
    0 Votes
    4 Posts
    2k Views
    M
    Thank you both of you! ;) Controller c; and it worked. Thank you so much for your time!
  • SQL script and SQLite

    12
    0 Votes
    12 Posts
    9k Views
    P
    [quote author="Volker" date="1317979869"]I didn't look into the sources, but it may be that postgresql can handle this on the server side or does the parsing and splitting internally in its own libs.[/quote] Yes, maybe it is so. But i don not understand why exec(QString) is made from prepare(QString) and exec(). As i can see from sources, the only reason for this is unwillingness to write similar code in exec(QString) and prepare(QString). Actually i can write exec(QString) with native SQLite's sqlite3_exec() which, as i mentioned above, can handle multiple statements in a single query.
  • 0 Votes
    4 Posts
    3k Views
    A
    It means that you need to read the documentation of [[doc:QPaintEvent]]?
  • Problem in making Fixed size QtabWidget's tab

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • [SOLVED] Interface class - undefined reference to vtable for MyInterface

    3
    0 Votes
    3 Posts
    12k Views
    P
    That did the trick! thanks a lot!;-)
  • 0 Votes
    4 Posts
    7k Views
    M
    Thanks Vass and Volker...its working absolutely fine... Thanks for the valuable inputs..
  • [SOLVED] QMap key order and QTabWidget

    3
    0 Votes
    3 Posts
    3k Views
    F
    At the moment I've solved implementing a private class with a few fields: @class MapData{ public: QString context; QString title; int index; };@ and I convert the map that is passed to me to a list of MapData where I store also the index of the tab when I build it. In this way, using TabWidget::currentIndex() as the current index of the list I can get out the context for the selected tab. So, in the end, I adapted my data structure to a linear one.
  • [Solved] Independant Threads with separate CommandLine

    18
    0 Votes
    18 Posts
    7k Views
    H
    Yes, startDetached() works... Thank you!