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

30 lines
530 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "mainwindow.h"
#include <QQtApplication>
#include <QQtApplication>
#include <qqtcore.h>
int main ( int argc, char* argv[] )
{
QQtApplication a ( argc, argv );
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();
}