I just want to use the variables given in the command line. This is the code:
Qt Code:
#include <QCoreApplication> #include <iostream> #include "server.h" using namespace std; Server::Server(){ cout << "InfoSpeed server beta 0.9\n"; } Server::~Server(){ }To copy to clipboard, switch view to plain text mode
This simple code gives me this error:
server.cpp: In constructor `Server::Server()':
server.cpp:18: error: invalid use of undefined type `struct QStringList'
E:/qt/include/QtCore/../../src/corelib/tools/qstring.h:64: error: forward declaration of `struct QStringList'
What is wrong ?
Bookmarks