Functions

main.cpp File Reference

#include <QtGui/QApplication>
#include <QDebug>
#include "smartlet.h"
Include dependency graph for main.cpp:

Functions

int main (int argc, char *argv[])
 The main function that starts Smartlet and it's event loop.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

The main function that starts Smartlet and it's event loop.

Todo:
Loading of dll's from specified paths or compile everything in one executable?

{
    QApplication a(argc, argv);
    // Hoe het juist zit met laden van libraries moet ik nog nakijken.
    // Voorlopig werkt dit niet, want de libraries zijn reeds voor de
    // main execution gelinkt blijkbaar.
    // a.addLibraryPath(a.applicationDirPath() + QDir::separator() + "postgres");
    SmartLet w;
    w.show();
    return a.exec();
}