Imported existing sources
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#include <QCoreApplication>
|
||||
#include <QDebug>
|
||||
|
||||
#include "mymessage.h"
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
QCoreApplication app(argc, argv);
|
||||
|
||||
MyMessage message("Daniel", QDate(1996, 11, 12), QDateTime::currentDateTime(), 21, 80);
|
||||
message.debug();
|
||||
|
||||
qDebug() << "changing name...";
|
||||
|
||||
message.setName("Peter");
|
||||
message.debug();
|
||||
|
||||
qDebug() << "clearing touched...";
|
||||
|
||||
message.setTouched(false);
|
||||
message.debug();
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
QT += core network
|
||||
|
||||
TARGET = messagingclient
|
||||
TEMPLATE = app
|
||||
|
||||
CONFIG -= app_bundle
|
||||
|
||||
PROJECT_ROOT = ..
|
||||
|
||||
DESTDIR = $${OUT_PWD}/$${PROJECT_ROOT}/bin
|
||||
|
||||
DBLIBS += core
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
||||
HEADERS +=
|
||||
|
||||
FORMS +=
|
||||
|
||||
RESOURCES +=
|
||||
|
||||
TRANSLATIONS +=
|
||||
|
||||
include($${PROJECT_ROOT}/project.pri)
|
||||
Reference in New Issue
Block a user