[Kstars-devel] Problems with locationdialogui.ui

Pablo de Vicente pablo.devicente at gmail.com
Tue Dec 20 07:27:09 CET 2005


Hello

   There is something wrong with locationdialogui.ui that I have not been able 
to find. It seems that locationdialogui.h is not automatically created. 
See...

kde at itaca:~/kde-svn/trunk/KDE/kdeedu/kstars/kstars$ make
WARNING: use unsermake instead of make or use a wrapper script, e.g. 
makeobj!!!
/home/kde/kde-svn/trunk/kdenonbeta/unsermake/unsermake all
compiling /home/kde/kde-svn/trunk/KDE/kdeedu/kstars/kstars/widgets/mapcanvas.cpp
g++ -DHAVE_CONFIG_H -I../../kstars/kstars/widgets 
-I/home/kde/kde-svn/trunk/KDE/kdeedu/kstars/kstars/widgets -I../.. 
-I/home/kde/kde-svn/trunk/KDE/kdeedu/kstars/kstars/widgets/.. 
-I/home/kde/kde-svn/trunk/KDE/kdeedu -I/usr/local/kde/include 
-I/usr/local/Trolltech/Qt-4.1.0-rc1/include 
-I/usr/local/Trolltech/Qt-4.1.0-rc1/include/Qt 
-I/usr/local/Trolltech/Qt-4.1.0-rc1/include/QtCore 
-I/usr/local/Trolltech/Qt-4.1.0-rc1/include/QtGui 
-I/usr/local/Trolltech/Qt-4.1.0-rc1/include/QtXml 
-I/usr/local/Trolltech/Qt-4.1.0-rc1/include/Qt3Support -I. 
-DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef 
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION -DQT3_SUPPORT 
-c /home/kde/kde-svn/trunk/KDE/kdeedu/kstars/kstars/widgets/mapcanvas.cpp 
-o ../../kstars/kstars/widgets/mapcanvas.o 
-Wp,-MD,../../kstars/kstars/widgets/.deps/mapcanvas.TUo
In file included 
from /home/kde/kde-svn/trunk/KDE/kdeedu/kstars/kstars/widgets/mapcanvas.cpp:26:
/home/kde/kde-svn/trunk/KDE/kdeedu/kstars/kstars/widgets/../locationdialog.h:51:30: 
error: locationdialogui.h: No such file or directory

I have "solved" the problem running by hand:
/usr/local/Trolltech/Qt-4.1.0-rc1/bin/uic locationdialogui.ui -o 
locationdialogui.h

and compilation gets further. 

I have looking at Makefile.am and locationdialogui.ui is there, and, I think, 
should be compiled with uic. May be the problem is that uic is called AFTER 
compilation is done in subdirectory widgets and by the time compilation is 
done in subdirectory widgets locationdialogui.h has not been yet created. So 
would that mean Makefile.am should have an entry with that dependency?

Pablo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20051220/4c929345/attachment.pgp


More information about the Kstars-devel mailing list