fix for mac linking

This commit is contained in:
Volker Fischer 2010-02-18 21:18:26 +00:00
parent e61ebff406
commit d56977ac5b

View file

@ -182,9 +182,12 @@ int main ( int argc, char** argv )
#endif #endif
// init resources // init resources
#if defined ( __APPLE__ ) || defined ( __MACOSX )
Q_INIT_RESOURCE(resources);
#else
extern int qInitResources(); extern int qInitResources();
qInitResources(); qInitResources();
#endif
// TEST -> activate the following line to activate the test bench, // TEST -> activate the following line to activate the test bench,
//CTestbench Testbench ( "127.0.0.1", LLCON_DEFAULT_PORT_NUMBER ); //CTestbench Testbench ( "127.0.0.1", LLCON_DEFAULT_PORT_NUMBER );