QtSipSettingsDialog.cpp
c:\qt\qt-win-opensource-src-4.1.2\include\qtcore\../../src/corelib/io/qiodevice.h(38) : error C2146: syntax error : missing ';' before identifier 'QtCoreModule'
c:\qt\qt-win-opensource-src-4.1.2\include\qtcore\../../src/corelib/io/qiodevice.h (38) : error C2371: 'QtValidLicenseForCoreModule' : redefinition; different bas
ic types
c:\qt\qt-win-opensource-src-4.1.2\include\qtcore\../../src/corelib/global/qglobal.h(1774) : see declaration of 'QtValidLicenseForCoreModule'
scons: *** [release-symbols\LigaPhone\src\presentation\qt\sipconfig\QtSipSetting
sDialog.obj] Error 2
scons: building terminated because of errors.
this only happened when i add QtSipSettingsDialog.cpp to the Sconscrip of /scr/presentation/qt/.
This is the file:
#include "QtSipSettingsDialog.h"
#include "ui_SipSettingsDialog.h"
//#include <QtGui/QtGui>
QtSipSettingsDialog::QtSipSettingsDialog (QWidget * parent)
: QObject(parent) {
_sipDialog = new QDialog(parent);
_ui = new Ui::SipSettingsDialog();
_ui->setupUi(_sipDialog);
_ui->retranslateUi(_sipDialog);
}
QtSipSettingsDialog::~QtSipSettingsDialog() {
delete _ui;
}
void QtSipSettingsDialog::show() {
//_sipDialog->exec();
}
I even comment the lines in the funtions
Can someone help me to solve it
_______________________________________________ Wengophone-devel mailing list Wengophone-devel@lists.openwengo.com http://dev.openwengo.com/mailman/listinfo/wengophone-devel