hi i have downloaded few applications from internet and tried compiling it...
but during compilation i get the following error...!
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.2.2/mkspecs/linux-g++ -I. -I/usr/local/Trolltech/Qt-4.2.2/include/QtCore -I/usr/local/Trolltech/Qt-4.2.2/include/QtCore -I/usr/local/Trolltech/Qt-4.2.2/include/QtGui -I/usr/local/Trolltech/Qt-4.2.2/include/QtGui -I/usr/local/Trolltech/Qt-4.2.2/include -Ibuild -Ibuild -o build/main.o src/main.cpp
In file included from src/qtgain.h:23,
from src/main.cpp:20:
build
/ui_qtgain.
h: In member function `
void Ui_QtGainClass
::setupUi(QMainWindow*)':build/ui_qtgain.h:81: error: 'class
QGridLayout' has no member named 'setLeftMargin
' build/ui_qtgain.h:82: error: 'class
QGridLayout' has no member named 'setTopMargin
' build/ui_qtgain.h:83: error: 'class
QGridLayout' has no member named 'setRightMargin
' build/ui_qtgain.h:84: error: 'class
QGridLayout' has no member named 'setBottomMargin
' build/ui_qtgain.h:85: error: 'class
QGridLayout' has no member named 'setHorizontalSpacing
' build/ui_qtgain.h:86: error: 'class
QGridLayout' has no member named 'setVerticalSpacing
' build/ui_qtgain.h:153: error: 'class
QGridLayout' has no member named 'setLeftMargin
' build/ui_qtgain.h:154: error: 'class
QGridLayout' has no member named 'setTopMargin
' build/ui_qtgain.h:155: error: 'class
QGridLayout' has no member named 'setRightMargin
' build/ui_qtgain.h:156: error: 'class
QGridLayout' has no member named 'setBottomMargin
' build/ui_qtgain.h:157: error: 'class
QGridLayout' has no member named 'setHorizontalSpacing
' build/ui_qtgain.h:158: error: 'class
QGridLayout' has no member named 'setVerticalSpacing
' build/ui_qtgain.h:272: error: 'class
QHBoxLayout' has no member named 'setLeftMargin
' build/ui_qtgain.h:273: error: 'class
QHBoxLayout' has no member named 'setTopMargin
' build/ui_qtgain.h:274: error: 'class
QHBoxLayout' has no member named 'setRightMargin
' build/ui_qtgain.h:275: error: 'class
QHBoxLayout' has no member named 'setBottomMargin
' make: *** [build/main.o] Error 1
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.2.2/mkspecs/linux-g++ -I. -I/usr/local/Trolltech/Qt-4.2.2/include/QtCore -I/usr/local/Trolltech/Qt-4.2.2/include/QtCore -I/usr/local/Trolltech/Qt-4.2.2/include/QtGui -I/usr/local/Trolltech/Qt-4.2.2/include/QtGui -I/usr/local/Trolltech/Qt-4.2.2/include -Ibuild -Ibuild -o build/main.o src/main.cpp
In file included from src/qtgain.h:23,
from src/main.cpp:20:
build/ui_qtgain.h: In member function `void Ui_QtGainClass::setupUi(QMainWindow*)':
build/ui_qtgain.h:81: error: 'class QGridLayout' has no member named 'setLeftMargin'
build/ui_qtgain.h:82: error: 'class QGridLayout' has no member named 'setTopMargin'
build/ui_qtgain.h:83: error: 'class QGridLayout' has no member named 'setRightMargin'
build/ui_qtgain.h:84: error: 'class QGridLayout' has no member named 'setBottomMargin'
build/ui_qtgain.h:85: error: 'class QGridLayout' has no member named 'setHorizontalSpacing'
build/ui_qtgain.h:86: error: 'class QGridLayout' has no member named 'setVerticalSpacing'
build/ui_qtgain.h:153: error: 'class QGridLayout' has no member named 'setLeftMargin'
build/ui_qtgain.h:154: error: 'class QGridLayout' has no member named 'setTopMargin'
build/ui_qtgain.h:155: error: 'class QGridLayout' has no member named 'setRightMargin'
build/ui_qtgain.h:156: error: 'class QGridLayout' has no member named 'setBottomMargin'
build/ui_qtgain.h:157: error: 'class QGridLayout' has no member named 'setHorizontalSpacing'
build/ui_qtgain.h:158: error: 'class QGridLayout' has no member named 'setVerticalSpacing'
build/ui_qtgain.h:272: error: 'class QHBoxLayout' has no member named 'setLeftMargin'
build/ui_qtgain.h:273: error: 'class QHBoxLayout' has no member named 'setTopMargin'
build/ui_qtgain.h:274: error: 'class QHBoxLayout' has no member named 'setRightMargin'
build/ui_qtgain.h:275: error: 'class QHBoxLayout' has no member named 'setBottomMargin'
make: *** [build/main.o] Error 1
To copy to clipboard, switch view to plain text mode
the application i downloaded is from the following link.
http://www.qt-apps.org/content/show.php/QtGain?content=56842
http://www.qt-apps.org/content/show.php/QtGain?content=56842
To copy to clipboard, switch view to plain text mode
any of u know how to fix this..
Bookmarks