1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00

30 lines
530 B
C++
Raw Normal View History

2018-04-06 11:16:37 +08:00
#include "mainwindow.h"
2018-06-09 01:38:46 +08:00
#include <QQtApplication>
2018-04-06 11:16:37 +08:00
#include <QQtApplication>
#include <qqtcore.h>
int main ( int argc, char* argv[] )
2018-04-06 11:16:37 +08:00
{
QQtApplication a ( argc, argv );
2018-04-06 11:16:37 +08:00
MainWindow w;
//w.show();
//赋值给byte 8个字节 uint64。
QByteArray array;
quint64 a0 = 12345678;
array << a0;
//取出来 int64
qint64 b0;
array >> b0;
//检查int64对不对
pline() << b0;
//windows
//经过测试,结果正确。
return 0;//a.exec();
}