Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.9k Posts
  • Mingw32-make instead of make

    5
    0 Votes
    5 Posts
    31k Views
    V
    "I use mingw32-make, because it is situated in Qt’s SDK" I experienced several problems by trying to use mingw32-make of the Qt SDK too. So i recommend you to download the Qt libraries and install MinGW seperately as i mentioned above.
  • [SOLVED] Mysql queries execute twice

    8
    0 Votes
    8 Posts
    8k Views
    L
    Thanks Lukas Geyer.
  • 0 Votes
    11 Posts
    5k Views
    D
    Hi 1+1=2 I am using Qt 4.8 and Visual Studio 2010. Ideally I am sticking to QStrings which is why I am questioning/double checking the idea of having to pass chars to Qt functions - all this encoding stuff is giving me a headache :-S
  • Use Solaris studio 12.3 in Redhat

    14
    0 Votes
    14 Posts
    5k Views
    H
    Can you please see my issue? Is this site the only place to take Qt? Many Thanks & Best Regards, HuaMin
  • Deleted

    7
    0 Votes
    7 Posts
    2k Views
    S
    Keep in mind, that good knowledge of C++ is necessary to work efficiently with Qt. For example, what's the point of reading about smart pointers classes if one doesn't know what the pointer is nor how it works? Personally I prefer reading books, articles to watching videos about programming languages or frameworks. I find it easier to mark interesting points and make bookmarks.
  • [Solved]Implementing a cancel button

    5
    0 Votes
    5 Posts
    7k Views
    V
    This is my solution: @QMdiSubWindow *subWin = mdiArea->addSubWindow(dialogo); connect( dialogo->getBtnCancel(),SIGNAL(clicked()),subWin,SLOT(close())); subWin->setAttribute(Qt::WA_DeleteOnClose); subWin->show();@
  • The Problem about QPlainTextEdit's copy-paste function

    2
    0 Votes
    2 Posts
    2k Views
    T
    I find my console will print out Warning: QClipboard::setData: Cannot set X11 selection owner for CLIPBOARD
  • [BUG] Scroll bar erases border set with Qt style sheets

    9
    0 Votes
    9 Posts
    5k Views
    B
    Never mind, it doesn't seem to work all the time.
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    818 Views
  • Deleted

    5
    0 Votes
    5 Posts
    2k Views
    L
    I forgot. To open a project you created with Qt Creator, on VS go to menu, Qt, Open Qt project (.pro) and select the .pro file. One thing I don't know how to change is that the Debug configuration has the code optimizations set for speed and that's why you won't be able to debug properly. So the first thing you have to do is disable the code optimization for all the debug configurations. IntelliSense is probably gona complain about the Qt libraries it does not know. I have a few posts with the issues I found "http://blog.lfdm.net/index.php/Qt-c/":http://blog.lfdm.net/index.php/Qt-c/
  • QSortFilterProxyModel setData(), and signals issue [solved]

    4
    0 Votes
    4 Posts
    3k Views
    G
    I figured out the problem, finally. I had not reimplemented QSortFilterProxyModel::data() even though I had reimplemented data() on QAbstractTableModel. After doing that, it is now working much more predictably. So, I'm on to other problems. :)
  • 0 Votes
    3 Posts
    2k Views
    A
    Thank you. It works fine.
  • How to plot a graph in Qt without using QWT

    12
    0 Votes
    12 Posts
    30k Views
    A
    Mosaic also "has some plotting components":http://www.mosaicsoftware.net/products/qt/ you might be interested in.
  • QWidgetTab delete internal padding

    4
    0 Votes
    4 Posts
    2k Views
    A
    You're (still) welcome ;-)
  • Can't build demos and examples

    7
    0 Votes
    7 Posts
    5k Views
    A
    one more bump, really want it to work :-) soo any clues why it misbehaves?
  • How to change system volume using qt

    2
    0 Votes
    2 Posts
    4k Views
    A
    There is no QT way to do this. Use system API functions for that. For windows API look at "this":http://msdn.microsoft.com/en-us/library/aa910392 reference
  • I cant connect my Qt to Sqlite

    15
    0 Votes
    15 Posts
    12k Views
    F
    it's solved wenks21 ?
  • Password validation for multilanguages

    2
    0 Votes
    2 Posts
    1k Views
    T
    Please do not post the same issue in several threads. I took the liberty of merging them. Considering that this is a really standard situation I put the merged thread under "General and Desktop", since you definitely do not need a C++ guru for this;-) I would use unicode categories (see QChar::category()) to decide which characters to allow.
  • Convert QString into UTF-8 string

    5
    0 Votes
    5 Posts
    4k Views
    D
    BTW, how do you make sure the data is incorrect: inspect a variable via debugger or outputting a value into some widget?
  • Suggestions for using tr() with variables

    14
    0 Votes
    14 Posts
    19k Views
    D
    Well, that is what I thought but my code did not work until I put it in a QObject (a frustrated experiment) but I have just moved it back out of the QObject (deleted the TS) and it works. Must have been something funky about the update of the TS). Either way, it works, yay!