Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • Wacom Mouse problem

    5
    0 Votes
    5 Posts
    4k Views
    Z
    Thanks Paul! Although, excuse my ignorance, but I have to ask, is this something Wacom should implement on their drivers, or is it something users can apply somewhere?
  • QSqlTableModel o QSqlQueryModel

    4
    0 Votes
    4 Posts
    4k Views
    P
    Hello If the forum I saw many problems using QSqlTableModel in queries, using setFilter () sql limiting, a comparison of the method QsqlQueryModel setQuery () solve this problem, but not well integrated QSqlQueryModel to sort data in QTableView sortingEnabled to order the sql query (producModel-> QSqlQueryModel :: setQuery (QString ("Select * From product where (product.id =% 1) limit 200"). arg (id)) ;) vanishes, well this is just some , what would be the best option Management System For Cars (desktop). -With a large amount of data (200000 users). -DB-Connection (Postgres). -Ease of use.
  • [SOLVED] QT bug in QStyleSheetStyle() found!

    6
    0 Votes
    6 Posts
    3k Views
    M
    Marked as resolved. See here: http://developer.qt.nokia.com/forums/viewthread/6725
  • Segmentation fault when trying to #include QtCore with C++0x

    6
    0 Votes
    6 Posts
    4k Views
    L
    Do not use C++11 with MinGW 4.4. It just doesn't work in most cases. Get an up to date version of MinGW or get MSVC2010 - both at no cost.
  • [Solved] QSqlQueryModel supporting server-side sorting and filtering.

    10
    0 Votes
    10 Posts
    7k Views
    P
    What file not found is Empty
  • Search for all libs in a directory

    2
    0 Votes
    2 Posts
    2k Views
    S
    Got it: wrote a make function makro and added it to the .pro file Write this in your .pro file: @ #without this variable qmake generats "" in the makefile e.g.: ..patsubst\ ./... MY_VARIABLE = patsubst LIBS += $($$MY_VARIABLE %.so,%,$(subst /path/to/libsfolder/lib, -l, $(wildcard /path/to/libsfolder/*.so))) @
  • [Closed] QSqlTableModel o QSqlQueryModel

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    A
    Please don't "double":http://developer.qt.nokia.com/forums/viewthread/14215/ post. I am closing this one.
  • Error detected in generated moc files during compilation

    10
    0 Votes
    10 Posts
    7k Views
    A
    I merged the separate topics as both contained the same question, and moved it from the Qt Quick to General and Desktop as it was unrelated to QML/Quick.
  • Extra blank headers when using QSQLite compiled with FTS3 support

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Changing size of image

    5
    0 Votes
    5 Posts
    2k Views
    G
    Now it works. I tried something like that earlier and it didn't work, but now I know what I made wrong. Thank you.
  • How to build single sql query for QSQLite for full text search on table

    5
    0 Votes
    5 Posts
    3k Views
    P
    Could you wrap your code in @-signs?
  • Group multiple QGraphicsItems into single entity to move/select

    4
    0 Votes
    4 Posts
    4k Views
    A
    Well, you could build up a group dynamically. If you add an element to your selection, add it to the group. Then perform the operations on the whole group. At least that is how I would try to do it.
  • Can't get widget expanding that has a QGraphicsView as parent

    3
    0 Votes
    3 Posts
    3k Views
    A
    Hi Artemus, set layout to Graphicsview as below @ QVBoxLayout *vlay = new QVBoxLayout(); vlay->addWidget(myWidget); ui->view->setLayout(vlay); @ [Edit: Please wrap code in @ tags; mlong]
  • QUdpSocket on MacOs

    4
    0 Votes
    4 Posts
    2k Views
    G
    If I understand correctly, the microcontroller is connected to the Mac via network. If you send to host address 127.0.0.1, the packet will never leave the microcontroller, as that is the local loopback address.
  • MainWindow & QWidget: login

    10
    0 Votes
    10 Posts
    5k Views
    J
    Take a look at some examples and tutorials. For example "here":http://www.voidrealms.com/tutorials.aspx?filter=qt, very simple and good tutorials in my opinion. Tutorial 5 are widgets...
  • How to get another process window handle using qt

    9
    0 Votes
    9 Posts
    15k Views
    Z
    Hello Guys, I was just browsing thru and came to this question. Although it seems that Ashish's problem is solved - still I think you all would be interested in going thru this link about the QxtWindowSystem Class: http://libqxt.bitbucket.org/doc/0.6/qxtwindowsystem.html I hope I've added a useful link to the discussion. Regards, zeFree
  • SQLite content problem

    6
    0 Votes
    6 Posts
    3k Views
    H
    Nope, you're right, it's working. My apologies.
  • Drag a tab outside of a QTabBar

    2
    0 Votes
    2 Posts
    2k Views
    A
    Not with the standard QTabBar.
  • Limit size of QGraphicsTextItem?

    12
    0 Votes
    12 Posts
    9k Views
    M
    i got one doubt wheather we have to use any QFontmatrics to adjust the size of the string to fit in the bounding rect
  • Beginner request

    4
    0 Votes
    4 Posts
    2k Views
    F
    Well you don't need a separate class for a menu, you just could have a function that returns a QMenuBar and set it.