Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • Qt Phonon Media Source crashes

    11
    0 Votes
    11 Posts
    4k Views
    D
    I compiled the Qt4.8 from sources with dbus disabled and now it's working....well, not 100% yet. but I'll open another topic because it's other problem.
  • Increase the size of the box in a form to fit the text

    4
    0 Votes
    4 Posts
    2k Views
    K
    Hi, I need a little help with my code. I am trying to put scrollbars on my code. It is a form that i would like to be in a groupbox and the groupbox in a qvboxlayout. @ QVBoxLayout* _layout3; QFormLayout* layout; QScrollArea *scrollArea = new QScrollArea(this); scrollArea->setWidgetResizable(true); QGroupBox *groupBox = new QGroupBox(scrollArea); QWidget *baseArea = new QWidget(); baseArea->setLayout(_layout3); scrollArea->setWidget(baseArea); while(!patients3.isEmpty()) { QMap<QString,QString> patient = patients3.takeFirst(); if (patient["id"]==itemId) { QLineEdit *MyLineEdit = new QLineEdit(patient["id"]); layout->addRow("ID",MyLineEdit); layout->addRow("Surname", new QLineEdit(patient["surname"])); layout->addRow("Name", new QLineEdit(patient["name"])); } groupBox->setLayout(layout); scrollArea->widget()->setLayout(_layout3); this->_layout3->addWidget(groupBox); }@
  • Abnormal termination when using OpenCV's function

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Stack smashing problem in readyRead() signal

    5
    0 Votes
    5 Posts
    3k Views
    S
    [quote author="Tobias Hunger" date="1328605587"]qt_metacall just shows that it was triggered via a signal/slot connection. You will need to dig deeper.[/quote] OK ... this is call stack: !http://s2.picofile.com/file/7285959886/snapshot12.png(Call stack)!
  • Qlibrary on C++ DLL

    7
    0 Votes
    7 Posts
    6k Views
    G
    yes: [quote author="Franzk" date="1328548005"]The sanest way to work around this I think is to wrap the C++ dll in a C interface dll (using msvc express). Then you can use gcc to (dynamically) link against that. C linkage is defined, unlike C++. It's usually the easiest if the vendor doesn't supply mingw builds (like Qt does).[/quote] this was my first solution, then I got enough budget to re-implement the stuff, so everything now is MSVC... because of the difference between GCC and MSVC, there is no other way then to warp the DLL (many tutorials on the web on this). or go MSVC/GCC all the way.
  • Serialized Files on disk?

    6
    0 Votes
    6 Posts
    2k Views
    J
    This is, what I expected. Thank you. As the program shall be used by other people, I cannot force them, to use SSD. But this shall be their problem :-p
  • Don't clear QWidget on paintEvent.

    3
    0 Votes
    3 Posts
    5k Views
    G
    Thanks, that worked
  • QDoubleValidator not working as expected on QLineEdit

    4
    0 Votes
    4 Posts
    6k Views
    G
    999 returns the Intermediate state, you still can make that number acceptable by inserting a decimal point somewhere.
  • QTableWidget column max size and unclickable

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Bug in QSyntaxHighlighter?

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 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.