From: wittend99 Date: Sun, 13 May 2012 19:32:29 +0000 (+0000) Subject: Possible rs-232 Comm library for use if needed. Born of frustration with existing... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=d7d0aecb2c3a1f39b487a394e4356128be646856;p=freetel-svn-tracking.git Possible rs-232 Comm library for use if needed. Born of frustration with existing options. After all these years isn't there a decent, usable, documented cross-platform library somewhere? git-svn-id: https://svn.code.sf.net/p/freetel/code@446 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/fdmdv2/librs232/librs232.project b/fdmdv2/librs232/librs232.project new file mode 100644 index 00000000..7b42d8bb --- /dev/null +++ b/fdmdv2/librs232/librs232.project @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + diff --git a/fdmdv2/librs232/main.cpp b/fdmdv2/librs232/main.cpp new file mode 100644 index 00000000..ddc0ba47 --- /dev/null +++ b/fdmdv2/librs232/main.cpp @@ -0,0 +1,19 @@ +#include +#include +#include + +int main(int argc, char* argv[]) +{ + QApplication app(argc, argv); + + QPushButton quit("Quit"); + + quit.resize(75, 30); + quit.setFont(QFont("Times", 18, QFont::Bold)); + + QObject::connect(&quit, SIGNAL(clicked()), &app, SLOT(quit())); + + quit.show(); + + return app.exec(); +}