Bug 124383

Summary: Problem compiling printwizard - Fault in frmprintwizardbase.cpp?
Product: [Applications] digikam Reporter: Thomas Astleitner <ta>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thomas Astleitner 2006-03-27 22:13:35 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    SuSE RPMs
Compiler:          GNU Make 3.80 
OS:                Linux

I've downloaded actual sourcecode for kipi-plugins, RC1.
During ./configure, everything goes fine.
While compiling using make, i get the following error message:

frmprintwizardbase.cpp:41:46: kipiprintwizardplugin::cropframe.h: No such file or directory

So I opened file
/kipi-plugins-0.1.0-rc1/kipi-plugins/printwizard/frmprintwizardbase.cpp
and removed line 41 (#include "kipiprintwizardplugin::cropframe.h") completely.

During the compile process, it looks for a file named kipiprintwizardplugin::cropframe.h, which surely cannot be found because, as we all know, the file is named cropframe.h which will be called two lines lower.

After compiling and installing this way, gwenview works pretty good with all kipi-plugins.

Greets and great work!!
Thomas
Comment 1 Tom Albers 2006-03-27 23:09:29 UTC
I bet you are using Qt: 3.3.5

There are some problems with that version. 
http://aseigo.blogspot.com/2005/09/qt-335-uic-problem-fix-patches.html

If not, please reopen.
Comment 2 Aaron Williams 2006-04-17 23:24:45 UTC
I see the same problem with QT 3.3.6.  The bug is actually in frmprintwizardbase.ui.  Go to line 1632.  It should say
     <includehint>cropframe.h</includehint>

Instead of:

    <includehint>kipiprintwizardplugin::cropframe.h</includehint>
Comment 3 Tom Albers 2006-04-19 00:00:07 UTC
This is fixed in our repository by Dirk. You just have to wait for another release, or pull the source from svn. 

Tom

------------------------------------------------------------------------
r467060 | mueller | 2005-10-04 09:47:20 +0200 (di, 04 okt 2005) | 2 lines

daily "unbreak compilation"

$ svn diff -r467059:467060  frmprintwizardbase.ui
Index: frmprintwizardbase.ui
===================================================================
--- frmprintwizardbase.ui       (revision 467059)
+++ frmprintwizardbase.ui       (revision 467060)
@@ -1623,13 +1623,4 @@
     <slot>EditCopies_valueChanged( int )</slot>
 </slots>
 <layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>kcombobox.h</includehint>
-    <includehint>kurllabel.h</includehint>
-    <includehint>klineedit.h</includehint>
-    <includehint>kpushbutton.h</includehint>
-    <includehint>klistbox.h</includehint>
-    <includehint>kipiprintwizardplugin::cropframe.h</includehint>
-    <includehint>kprogress.h</includehint>
-</includehints>
 </UI>