Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • Adding translating file to my project

    2
    0 Votes
    2 Posts
    3k Views
    EddyE
    have a look at "this wiki page":http://developer.qt.nokia.com/wiki/How_to_create_a_multi_language_application. I think it can help you.
  • Multithreading help... If thats what i need?

    4
    0 Votes
    4 Posts
    4k Views
    L
    [quote author="peppe" date="1312153167"] Read that again. waitFor - event loop keeps running. Do you see it?[/quote] Oups, silly mistake, thanks for pointing out. Of course this would NOT run the event loop. Better use a "QFutureWatcher":http://doc.qt.nokia.com/latest/qfuturewatcher.html . Great wiki page, peppe!
  • [SOLVED] qt alternative?

    11
    0 Votes
    11 Posts
    18k Views
    K
    Yes, you are right when you say that asking for an qt alternative in this forum is not a good idea, which is part of the reason why i marked this topic as solved. also, I really did not want any more feedback because I decided that I might stay with qt. :) but thank you for your feedback anyways. I figure that like you said, qt is probably the best there is. but since you are posted here, if you know of an alternative framework ide gui builder then I would like to know about it. I am only looking for c++. but you said that qt is the best so i will take that as your answer.
  • How to create a .deb project for my applicaton?

    2
    0 Votes
    2 Posts
    2k Views
    D
    Read the Debian New Maintainers' Guide, and contact the Debian Qt/KDE maintainers.
  • How to insert data rows to QProxyModel?

    8
    0 Votes
    8 Posts
    4k Views
    A
    Why are you starting a new topic on that? You have several topics on this already. Please stick to one topic for one question.
  • [Solved] How to combine multiple QSqlQueryModel?

    3
    0 Votes
    3 Posts
    4k Views
    A
    Bad design, if you ask me. Somthing like this makes much more sense, at least from a database normalization perspective: Countries {ID, Country} Contacts {ID, Name, Telefone, Address, CountryID} That will make the UNION select Eddy suggested also no longer needed.
  • How to catch QSystemTrayIcon quit event

    4
    0 Votes
    4 Posts
    3k Views
    D
    yep, should also help you
  • QSettings how to save QMap<QString,int> into configuration file

    7
    0 Votes
    7 Posts
    6k Views
    G
    [quote author="peppe" date="1312109506"]The thread's title is not HTML-escaped. Thus the <> symbols in the template break things.[/quote] That was the problem, I replaced the tags by the HTML escape sequences now...
  • Got off the encoding

    15
    0 Votes
    15 Posts
    8k Views
    R
    I find it, it was CP866 Many thanks for your help!
  • Icon in pushbutton does not resize

    5
    0 Votes
    5 Posts
    17k Views
    EddyE
    You could use an event filter, Here is an example : In the constructor of your class where you put the pushbutton @ pushButton->installEventFilter(this);@ Then add this definition in the cpp file of yourClass(derived from QMainWindow in this example). Don't forget it's declaration. @bool YourClass::eventFilter(QObject *object, QEvent *event) { if (pushButton == object && event->type() == QEvent::Resize) { qDebug() << "button was resized!"; pushButton->setIconSize( QSize( pushButton->size().width(), pushButton->size().height() )); }   return QMainWindow::eventFilter(object, event); }@
  • [Solved] How to skip fast keystroke in search?

    7
    0 Votes
    7 Posts
    3k Views
    C
    [quote author="Andre" date="1312046102"]I wrote a "wiki article":http://developer.qt.nokia.com/wiki/Delay_action_to_wait_for_user_interaction on this. You might want to take a look at it. [/quote] Thank you Andre !
  • [SOLVED] Overwrite specific bytes without reading the whole file, QFile

    6
    1 Votes
    6 Posts
    4k Views
    S
    [quote author="faenil" date="1312059979"]I'll try it tomorrow morning and check if it's solved ;) thanks for the tip anyway ;) [/quote] Even better! :-)
  • I cannot compile a simple "hello" project

    7
    0 Votes
    7 Posts
    4k Views
    R
    [quote author="mcII" date="1312043464"]Thank you for your help. My background is from the "old" school of MS DOS but so far I have very little knowledge of the equivalent in the Mac world. I have no clue about setting environment variables in Mac I don't want to use this forum to learn these basics. I will look for books where I can learn as much as I need of the Mac Terminal. If after my education effort I have problems, I will come to this forum for help. Thanks again.[/quote] Everything is fine, this forum was created for this purpose and you can ask about all.
  • Error in creating Qthreads and pthread

    6
    0 Votes
    6 Posts
    4k Views
    S
    hi, actually i have implemented client-server application which will read only if we press read button in client side and server side but now i ve designed normal chat messenger so i used qthreads to implement which can read from server and also server should read from client independently.. so i used qthreads and also imported widget class which has subclass of qwidget . but while executing i got some unknown error like debugger crashed , couldn't find it.. code i ve already posted above. in mythread class just done multiple inheritence with base class of qthread and widget class and declared run function alone and in .cpp file created thread object and use start function to initiate run function where i have defined widget object function.. hope now everyone understand.. please help me to find out the error and just give me the suggestion to use qthread thanks in advance, shakthi
  • How to get Cpu Processor id

    2
    0 Votes
    2 Posts
    7k Views
    D
    Although Qt detects at runtime the CPU feature set (cf. src/corelib/tools/qsimd.cpp), it does not export any function to access that (nor any other CPUID information). Write your small piece of assembly code to gather that information.
  • 0 Votes
    5 Posts
    12k Views
    U
    Thanks working
  • How to create COM dll in QT

    2
    0 Votes
    2 Posts
    2k Views
    G
    You can use the "ActiveQt framework":http://doc.qt.nokia.com/4.7/qt-activex.html
  • Build my app for Windows, Mac OS and linux from Linux

    5
    0 Votes
    5 Posts
    4k Views
    C
    You need build them separately on Windows, Linux and Mac. And upload them to your server.
  • QString and access violation

    9
    0 Votes
    9 Posts
    8k Views
    G
    I tried it and it works like a charm. Thanks again.....George
  • [ Solved ] From HTML to QString Utf8

    3
    0 Votes
    3 Posts
    8k Views
    B
    This: @QTextDocument document; document.setHtml(text); document.toPlainText(); @ does the trick. Thanks !