Generate a Visual Studio 2010 project file from a qmake pro file
qmake -spec win32-msvc2010 -tp vc <project_file>.pro
qmake -spec win32-msvc2010 -tp vc <project_file>.pro
Videos from Keynotes, Technical Talks, Qt in Education, Qt in Use and Qt Training
This year’s conference program offered three full days of training, technical sessions and Qt in Use presentations. Whether you are a new Qt user, a Qt pro, CTO or Product Manager, Qt Developer Days features more than 50 technical sessions, demos, hands-on labs, compelling case studies and information on partner services to satisfy all your Qt requirements.
Qt Quick for C++ Developers. For those experienced in Qt and C++, but new to QML.
This presentation will focus on those who already know Qt but want to see what QML changes for them. We will show how Qt developers can use the new C++ APIs to register new types and objects. We will also present guidelines to create hybrid C++/QML applications.
if (fruit== "apple") { ... } // hidden malloc
if (fruit== QLatin1String("apple")) { ... } // fast and mentions encoding
if (foo.startsWith("(" + type + ") 0x"))
if (foo.startsWith("(" % type % ") 0x"))
The QtService component is useful for developing Windows services and Unix daemons.
The project provides a QtService template class that can be used to implement service applications, and a QtServiceController class to control a service.
On Windows systems the implementation uses the Service Control Manager.
On Unix systems services are implemented as daemons.
The QtSingleApplication component provides support for applications that can be only started once per user.
For some applications it is useful or even critical that they are started only once by any user. Future attempts to start the application should activate any already running instance, and possibly perform requested actions, e.g. loading a file, in that instance.
The QtSingleApplication class provides an interface to detect a running instance, and to send command strings to that instance.
For console (non-GUI) applications, the QtSingleCoreApplication variant is provided, which avoids dependency on QtGui.
QThread was designed and is intended to be used as an interface or a control point to an operating system thread, not as a place to put code that you want to run in a thread. We object-oriented programmers subclass because we want to extend or specialize the base class functionality. The only valid reasons I can think of for subclassing QThread is to add functionality that QThread doesn’t have, e.g. perhaps providing a pointer to memory to use as the thread’s stack, or possibly adding real-time interfaces/support. Code to download a file, or to query a database, or to do any other kind of processing should not be added to a subclass of QThread; it should be encapsulated in an object of it’s own.
// create the producer and consumer and plug them together Producer producer; Consumer consumer; bool bOk = producer.connect(&consumer, SIGNAL(consumed()), SLOT(produce())); Q_ASSERT(bOk); bOk = consumer.connect(&producer, SIGNAL(produced(QByteArray *)), SLOT(consume(QByteArray *))); Q_ASSERT(bOk); // they both get their own thread QThread producerThread; producer.moveToThread(&producerThread); QThread consumerThread; consumer.moveToThread(&consumerThread); // go! producerThread.start(); consumerThread.start();
Reference: Threading without the headache or QThread’s no longer abstract (see attached file)
The following MeeGo v1.0 images are available for download:
Installing MeeGo on your Netbook
MeeGo v1.0 Core Software Platform & Netbook User Experience project release
On Windows Vista 64-bit or Windows 7 64-bit, GCC make (MinGW) can be failed with the error:
mingw32-make.exe: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x421963)