use 5.008003; use ExtUtils::MakeMaker; BEGIN { require Carp; if (!-d '/usr/include/qt4') { Carp::croak(< 'Qt::Gui', VERSION => '0.01_05', LICENSE => 'perl', PREREQ_PM => {}, ABSTRACT => 'Qt Gui binding', AUTHOR => 'Dongxu Ma ', CC => 'g++', LD => 'g++', LDDLFLAGS => '-shared', XSOPT => '-C++ -hiertype', LIBS => '-L/usr/lib/qt4 -lQtGui -lQtCore', DEFINE => '-DQT_GUI_LIB -DQT_SHARED -DQT_NO_DEBUG -DQT_NO_S60 -DQT_NO_STYLE_S60 -DQT_NO_STYLE_WINDOWS -DQT_NO_QWSEMBEDWIDGET -DQT_NO_QWS_SOUNDSERVER -DQT_NO_QWS_PROPERTIES', INC => '-I/usr/include -I/usr/include/qt4', # Un-comment this if you add C files to link with later: # OBJECT => '$(O_FILES)', # link all the C files too );