1 #include <qapplication.h>
2 #include "qtwrapping.h"
9 int main(int argc
, char *argv
[])
12 const char* display
= getenv("DISPLAY");
13 if ( display
&& strlen(display
)>0 )
16 QApplication
app(argc
,argv
);
19 app
.setMainWidget(&qtw
);
24 printf("Environment variable DISPLAY is not set. I will pretend like the test passed, but you should really set it.\n");