Logo white

Peter M. Groen / openbr

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • openbr
  • share
  • openbr
  • qmake_tutorial
  • main.cpp
  • added qmake tutorial
    2d2e187e
    Josh Klontz authored
    2013-05-21 13:12:23 -0400  
    Browse Code ยป
main.cpp 313 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include <QApplication>
#include <QLabel>
#include <openbr/openbr.h>

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    br_initialize(argc, argv);

    QLabel label;
    label.setText("Hello OpenBR!");
    label.show();

    int result = app.exec();
    br_finalize();
    return result;
}