[Kstars-devel] problems with new ui files

Jason Harris jharris at 30doradus.org
Wed Apr 12 16:27:43 CEST 2006


I'm stuck.  It's creating the ui_*.h headers, but it seems to be refusing to 
use them somehow.  When I run make, I get:

Building CXX object kstars/kstars/CMakeFiles/kstars.dir/widgets/mapcanvas.o
In file included 
from /home/kde-devel/kde4svn/kdeedu/kstars/kstars/widgets/mapcanvas.cpp:26:
/home/kde-devel/kde4svn/kdeedu/kstars/kstars/locationdialog.h:53: error: `Ui'
   is not a class or namespace

Yet line 51 is '#include "ui_locationdialog.h", and that file exists, and it  
defines a "Ui" namespace, just like it's always done.

Any ideas?
Jason


On Wednesday 12 April 2006 07:13, Jason Harris wrote:
> SVN commit 529077 by harris:
>
> First round of UI file conversion.  All UI files that were named
> fooui.ui are now named foo.ui, and their names are changed in all
> #include statements and in the CMakeLists.txt file (the new equivalent
> of Makefile.am).  Still need to convert the foodlg.ui files.
>
> CCMAIL: kstars-devel at kde.org
>
>
>
>  M  +23 -23    CMakeLists.txt
>  M  +1 -1      addcatdialog.h
>  A             addcatdialog.ui
>  D             addcatdialogui.ui
>  M  +1 -1      addlinkdialog.h
>  A             addlinkdialog.ui
>  D             addlinkdialogui.ui
>  A             ccdpreview.ui
>  D             ccdpreviewui.ui
>  M  +1 -1      ccdpreviewwg.h
>  M  +1 -1      conbridlg.h
>  A             contrastbrightnessg.ui
>  D             contrastbrightnessgui.ui
>  M  +5 -5      detaildialog.h
>  M  +1 -1      finddialog.h
>  A             finddialog.ui
>  D             finddialogui.ui
>  M  +1 -1      focusdialog.h
>  A             focusdialog.ui
>  D             focusdialogui.ui
>  M  +2 -2      fovdialog.cpp
>  M  +2 -2      fovdialog.h
>  A             fovdialog.ui
>  D             fovdialogui.ui
>  A             imagereduction.ui
>  M  +1 -1      imagereductiondlg.h
>  D             imagereductionui.ui
>  M  +1 -1      imagesequence.h
>  A             imgsequencedlg.ui
>  D             imgsequencedlgui.ui
>  M  +4 -4      kswizard.h
>  M  +1 -1      locationdialog.h
>  A             locationdialog.ui
>  D             locationdialogui.ui
>  A             newfov.ui
>  D             newfovui.ui
>  M  +1 -1      opsadvanced.h
>  A             opsadvanced.ui
>  D             opsadvancedui.ui
>  M  +1 -1      opscatalog.h
>  A             opscatalog.ui
>  D             opscatalogui.ui
>  M  +1 -1      opscolors.h
>  A             opscolors.ui
>  D             opscolorsui.ui
>  M  +1 -1      opsguides.h
>  A             opsguides.ui
>  D             opsguidesui.ui
>  M  +1 -1      opssolarsystem.h
>  A             opssolarsystem.ui
>  D             opssolarsystemui.ui
>  A             streamform.ui
>  D             streamformui.ui
>  M  +1 -1      streamwg.h
>  M  +1 -1      telescopeprop.h
>  A             telescopeprop.ui
>  D             telescopepropui.ui
>  M  +1 -1      thumbnaileditor.cpp
>  M  +1 -1      thumbnaileditor.h
>  A             thumbnaileditor.ui
>  D             thumbnaileditorui.ui
>  M  +1 -1      thumbnailpicker.h
>  A             thumbnailpicker.ui
>  D             thumbnailpickerui.ui
>  M  +5 -5      tools/CMakeLists.txt
>  M  +1 -1      tools/altvstime.cpp
>  M  +1 -1      tools/altvstime.h
>  A             tools/altvstime.ui
>  D             tools/altvstimeui.ui
>  M  +1 -1      tools/lcgenerator.h
>  A             tools/lcgenerator.ui
>  D             tools/lcgeneratorui.ui
>  M  +1 -1      tools/observinglist.h
>  A             tools/observinglist.ui
>  D             tools/observinglistui.ui
>  M  +1 -1      tools/obslistwizard.h
>  A             tools/obslistwizard.ui
>  D             tools/obslistwizardui.ui
>  M  +1 -1      tools/planetviewer.cpp
>  M  +1 -1      tools/planetviewer.h
>  A             tools/planetviewer.ui
>  D             tools/planetviewerui.ui
>  M  +1 -1      tools/scriptbuilder.h
>  A             tools/scriptbuilder.ui
>  D             tools/scriptbuilderui.ui
>  M  +1 -1      tools/wutdialog.cpp
>  M  +1 -1      tools/wutdialog.h
>  A             tools/wutdialog.ui
>  D             tools/wutdialogui.ui
>  A             wizdevices.ui
>  D             wizdevicesui.ui
>  A             wizdownload.ui
>  D             wizdownloadui.ui
>  A             wizlocation.ui
>  D             wizlocationui.ui
>  A             wizwelcome.ui
>  D             wizwelcomeui.ui
>
>
> _______________________________________________
> Kstars-devel mailing list
> Kstars-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kstars-devel

-- 
Jason Harris
jharris at 30doradus.org


More information about the Kstars-devel mailing list