I need clear QT console. What is the comand? main.cpp: int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); cout<<'How delete this?'; //system('CLS'
I'd like to know what are the implications (problems) of having multiple QApplication/QCoreApplication instances in the same process, and how to solve some issues regarding it. The
Writing a little code to extract some values from an XML, the result of the XPath seem to add \n after the content. #include <QCoreApplication> #include <QXmlQuery> #in
I'm writing console app, based QCoreApplication, and I want to get signals, when user input something into stdin (whole line at once or by characters, it is not important for my ap
I have this simple C++ program: int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QProcess ps; QByteArray ba; ps.start('ls J:'); ba = ps.rea
I am trying to do console application to read pixels from image: #include <QtCore/QCoreApplication> #include <QtGui/QImage> #include <iostream> int main(int arg
There is main function: int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); Worker w; QObject::connect(&w, SIGNAL(done()), &a, SLOT(quit()), Qt:
I want to load qt5 psql driver in windows 7. I've load the library as this way: qDebug() << QCoreApplication::libraryPaths (); QString driverName = 'QPSQL'; QSqlDatabase::add
Is it possible to get the time when an event has been scheduled to a QEventLoop (e.g. the QCoreApplication event loop)? I have a situation where the main event loop is paused. When
My goal is to create a library using the Qt's DBus bindings. I tried to create a Qt application without launching the QEventLoop (provided by the QCoreApplication class) in the mai
I have some problems with threading inside QT. #include <QCoreApplication> #include 'handler.hpp' int main(int argc, char *argv[]) { QCoreApplication a(argc, argv);
I want to use QFtp for the first time and googled a lot to find out how it should be used. This, among others is a typical example: #include <QCoreApplication> #include <Q
The documentation for QStringList QCoreApplication::arguments() (Qt) states that: Usually arguments().at(0) is the program name, arguments().at(1) is the first argument, and a
I found some WMI C++ Application Examples in MSDN website. I have tried the code form the below link http://msdn.microsoft.com/en-us/library/aa390423%28v=VS.85%29.aspx when I copie
I get the following error after having upgraded to Spyder 5 No QCoreApplication instance found. Application patches not applied. You have to call load_stylesheet function after i
I'm trying to create a QT DLL to use it in an InnoSetup installer (InnoSetup is written in Delphi Pascal). This DLL should have a function to download a file from the internet when
I am using QextSerialPort to access ports #include <qstring.h> #include <qdebug.h> #include <QCoreApplication> int main(int argc, char *argv[]) { QCoreAppl
I have a method which is called from both QThreads and the main thread. this method can sometimes take a long time to do its computations in a loop so I put QCoreApplication::proc
I'm trying to print a simple text message in a thermal printer through Qt5 printing methods. #include <QCoreApplication> #include <QDebug> #include <QtPrintSupport/Q
I am creating a Qt/C++ console application which successfully forks. When I call QCoreApplication::applicationPid() before fork, and then after fork (in the child), I get the same