sujan.dasmahapatra
25th January 2010, 09:46
Dear Friends
Using QT designer I have created a GradientRendererEx and a QSlider(vertical) on my form "gradientDisplay.ui".
Now when I am trying to create its associated header using
uic ./rc/gradientDisplay.ui > ./include/gradientMeshContours.h
then in the header file i can QT is adding "gradients.h"
now when I am generating the dialog and trying to compile the program
it gives an error as below
///////////////
In file included from src/../include/gradientMeshContoursDlg.h:5,
from src/../include/graphicsview_mesh.h:25,
from src/../include/mainwindow.h:33,
from src/../include/graphicsscene.h:19,
from src/../include/graphicsview.h:19,
from src/../include/geometry.h:25,
from src/../include/checksmoothness.h:26,
from src/checksmoothness.cpp:14:
src/../include/gradientMeshContours.h:20:23: gradients.h: No such file or directory
In file included from src/../include/gradientMeshContoursDlg.h:5,
from src/../include/graphicsview_mesh.h:25,
from src/../include/mainwindow.h:33,
from src/../include/graphicsscene.h:19,
from src/../include/graphicsview.h:19,
from src/../include/geometry.h:25,
from src/../include/checksmoothness.h:26,
from src/checksmoothness.cpp:14:
src/../include/gradientMeshContours.h:27: error: ISO C++ forbids declaration of `GradientRendererEx' with no type
src/../include/gradientMeshContours.h:27: error: expected `;' before '*' token
src/../include/gradientMeshContours.h: In member function `void Ui_GradientDisplay::setupUi(QWidget*)':
src/../include/gradientMeshContours.h:35: error: `gradientRendererEx' was not declared in this scope
src/../include/gradientMeshContours.h:35: error: `GradientRendererEx' has not been declared
src/checksmoothness.cpp: In member function `void CheckSmoothness::ok()':
src/checksmoothness.cpp:389: warning: unused variable 'n'
make: *** [obj/checksmoothness.o] Error 1
//////////////
Using QT designer I have created a GradientRendererEx and a QSlider(vertical) on my form "gradientDisplay.ui".
Now when I am trying to create its associated header using
uic ./rc/gradientDisplay.ui > ./include/gradientMeshContours.h
then in the header file i can QT is adding "gradients.h"
now when I am generating the dialog and trying to compile the program
it gives an error as below
///////////////
In file included from src/../include/gradientMeshContoursDlg.h:5,
from src/../include/graphicsview_mesh.h:25,
from src/../include/mainwindow.h:33,
from src/../include/graphicsscene.h:19,
from src/../include/graphicsview.h:19,
from src/../include/geometry.h:25,
from src/../include/checksmoothness.h:26,
from src/checksmoothness.cpp:14:
src/../include/gradientMeshContours.h:20:23: gradients.h: No such file or directory
In file included from src/../include/gradientMeshContoursDlg.h:5,
from src/../include/graphicsview_mesh.h:25,
from src/../include/mainwindow.h:33,
from src/../include/graphicsscene.h:19,
from src/../include/graphicsview.h:19,
from src/../include/geometry.h:25,
from src/../include/checksmoothness.h:26,
from src/checksmoothness.cpp:14:
src/../include/gradientMeshContours.h:27: error: ISO C++ forbids declaration of `GradientRendererEx' with no type
src/../include/gradientMeshContours.h:27: error: expected `;' before '*' token
src/../include/gradientMeshContours.h: In member function `void Ui_GradientDisplay::setupUi(QWidget*)':
src/../include/gradientMeshContours.h:35: error: `gradientRendererEx' was not declared in this scope
src/../include/gradientMeshContours.h:35: error: `GradientRendererEx' has not been declared
src/checksmoothness.cpp: In member function `void CheckSmoothness::ok()':
src/checksmoothness.cpp:389: warning: unused variable 'n'
make: *** [obj/checksmoothness.o] Error 1
//////////////