Kismet Wireless

Kismet Forums

 

Posted by:krzychoocpp
Subject:qKismet - Qt Kismet GUI
Date:19:21:34 25/08/2007

> g++ -c -pipe -O2 -march=pentium4 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I../build/release -I. -o ../build/release/kisfilter.o kisfilter.cpp
> kisfilter.cpp: In member function 'void KismetSortFilterProxy::setInvert(bool)':
> kisfilter.cpp:47: error: 'invalidateFilter' was not declared in this scope
> kisfilter.cpp: In member function 'void KismetSortFilterProxy::setMode(filterMode)':
> kisfilter.cpp:56: error: 'invalidateFilter' was not declared in this scope
> kisfilter.cpp: In member function 'void KismetSortFilterProxy::setCaseSensitive(bool)':
> kisfilter.cpp:66: error: 'invalidateFilter' was not declared in this scope
> kisfilter.cpp: In member function 'void KismetSortFilterProxy::setFilterString(const QString&)':
> kisfilter.cpp:77: error: 'invalidateFilter' was not declared in this scope
> kisfilter.cpp: In member function 'bool KismetSortFilterProxy::checkEq(const QString&)':
> kisfilter.cpp:91: error: no matching function for call to 'QString::compare(QString&, Qt::CaseSensitivity) const'
> /usr/include/qt4/QtCore/qstring.h:253: note: candidates are: int QString::compare(const QString&) const
> /usr/include/qt4/QtCore/qstring.h:254: note: static int QString::compare(const QString&, const QString&)

QSortFilterProxyModel::invalidateFilter was introduced in Qt 4.3. In INSTALL file I've written "Make sure you have Qt >= 4.3" ;) If you don't want to install new Qt, remove or comment each occurence of "invalidateFilter", and "compare" in line 91. Filtering in views will not work.


Reply to this message