[kmymoney] [Bug 416534] New: Multiple ui files cannot be edited with the designer

Ralf Habacker bugzilla_noreply at kde.org
Tue Jan 21 14:21:26 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=416534

            Bug ID: 416534
           Summary: Multiple ui files cannot be edited with the designer
           Product: kmymoney
           Version: 5.0.8
          Platform: Other
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: ralf.habacker at freenet.de
  Target Milestone: ---

STEPS TO REPRODUCE
1. download
https://cgit.kde.org/kmymoney.git/plain/kmymoney/wizards/newloanwizard/knewloanwizard.ui?h=5.0
2. open file with designer-qt5

OBSERVED RESULT
designer shows the following warning 28 times

 ** WARNING Attempt to add oject that is not of class WizardPage to a QWizard

Compiling kmymoney with this saved file fails because the designer has removed
several widgets from the ui file. 

EXPECTED RESULT
The file should not be corrupted on saving

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Leap 15.1
KDE Frameworks Version: 5.49
Qt Version: 5.9.7

ADDITIONAL INFORMATION
The ui file contains several lines similar to 

<widget class="NewIntroWizardPage" name="m_newIntroPage">

which requires related entries below the <customwidgets> tag e.g. 

  <customwidgets>
   ...
   <customwidget>
    <class>NewIntroWizardPage</class>
    <extends>QWizardPage</extends>
    <header>newintrowizardpage.h</header>
   </customwidget>

For the removed widgets this entry is missing

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list