[Kstars-devel] Problems with locationdialogui.ui

Jason Harris kstars at 30doradus.org
Wed Dec 21 18:46:11 CET 2005


There's definitely something bizarre happening.  It seems that only the UI 
files which have not yet been updated to Qt4 are getting parsed into header 
files prior to attempting to compile code in the widgets directory.  
Unfortunately, locationdialogui.ui was created for Qt4 so it isn't getting 
parsed in time.  I would have thought that make should parse all of the UI 
files first, whether they use uic or uic3.  Maybe it's a bug in the AM logic?

I'll ask about it at kde-devel.

Jason

On Monday 19 December 2005 23:27, Pablo de Vicente wrote:
> 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.

-- 
-------------------------------
KStars: KDE Desktop Planetarium
http://edu.kde.org/kstars


More information about the Kstars-devel mailing list