Qt compile problem - scx-tools - AboutSCXDialog.cpp:26: error: ‘AboutSCXDialog’ has n
I've been working to compile recording software for skype on debian for some time. I'm getting this error:
dan@dan:/mnt/data/programs/I M/scx-tools-0.1.1/scx-recorder$ qmake-qt4 -project "LIBS += -lQtNetwork -lasound"
dan@dan:/mnt/data/programs/I M/scx-tools-0.1.1/scx-recorder$ qmake-qt4
dan@dan:/mnt/data/programs/I M/scx-tools-0.1.1/scx-recorder$ make
/usr/bin/uic-qt4 AboutSCXDialog.ui -o ui_AboutSCXDialog.h
/usr/bin/uic-qt4 ConfigDlg.ui -o ui_ConfigDlg.h
/usr/bin/uic-qt4 MainWindow.ui -o ui_MainWindow.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o AboutSCXDialog.o AboutSCXDialog.cpp
AboutSCXDialog.cpp:26: error: ‘AboutSCXDialog’ has not been declared
AboutSCXDialog.cpp:26: error: ISO C++ forbids declaration of ‘AboutSCXDialog’ with no type
AboutSCXDialog.cpp: In function ‘int AboutSCXDialog(QWidget*, Qt::WindowFlags)’:
AboutSCXDialog.cpp:26: error: only constructors take base initializers
AboutSCXDialog.cpp:28: error: invalid use of ‘this’ in non-member function
AboutSCXDialog.cpp:28: error: ‘setupUi’ was not declared in this scope
AboutSCXDialog.cpp: At global scope:
AboutSCXDialog.cpp:31: error: expected constructor, destructor, or type conversion before ‘::’ token
make: *** [AboutSCXDialog.o] Error 1
I'm hoping someone else has set this up on Debian Etch...
|