Skip to content

Commit f6ed760

Browse files
added ssl test, added qstring to hello world test
1 parent dc07f2c commit f6ed760

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

tests/qt-hello-world/main.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#include <iostream>
1+
#include <QDebug>
22

33
int main()
44
{
5-
std::cout << "\nHello World!\n";
5+
QString hello("Hello World!");
6+
qDebug() << hello;
67
}

tests/qt-ssl/main.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#include <QtNetwork/QSslConfiguration>
2+
3+
int main(int argc, char *argv[])
4+
{
5+
QSslConfiguration configuration;
6+
return 0;
7+
}

tests/qt-ssl/qt-ssl.pro

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
QT += core network
2+
QT -= gui
3+
TARGET = ssltest
4+
CONFIG += console
5+
CONFIG -= app_bundle
6+
TEMPLATE = app
7+
SOURCES += main.cpp

0 commit comments

Comments
 (0)