[Bug 53195] New: kpart application framework doesn't compile KFileDialog

Jeffrey McGee jeffreym at cs.tamu.edu
Mon Jan 20 19:16:02 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=53195     
           Summary: kpart application framework doesn't compile KFileDialog
           Product: kdevelop
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: gideon
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: jeffreym at cs.tamu.edu


Version:            (using KDE KDE 3.0.99)
Installed from:    Gentoo Packages
OS:          Linux

When you compile a new kpart application with gideon alpha 3, you get the following error message:
myapp.cpp: In member function `void KTilde::fileOpen()': 
* myapp.cpp:172: `KFileDialog' undeclared (first use this function) 
* myapp.cpp:172: (Each undeclared identifier is reported only once for each  
*  function it appears in.) 
* myapp.cpp:172: parse error before `::' token

It works fine if you add the following line to the list of header files in kdevelop/parts/appwizard/kpartapp/app.cpp:
#include <kfiledialog.h>




More information about the KDevelop-devel mailing list