Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64391

uic generate invalid control instance variable names

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.7.1, 5.9.2
    • Build tools: uic
    • None
    • nothing specific but the qt version on which this patch was created 5.7.1.

      I'll check for porting it on 5.9/5.10

      Can also create a pull request on a git repo

    Description

      When exporting dialogs from windows exe, control components are named with some numbers (IDC in win terminology) and an old tool, knut resource converter, is able to extract .ui files. These files uses some control with numbers names. When using uic to generate code for these ui, uic don't handle a all digit name hence generating some code that do not compile. 

      I fixed this through a very little patch I provide attached here and I'm ready to adapt if needed.

      Attachments

        Activity

          People

            jkobus Jarek Kobus
            rcoscali Rémi COHEN-SCALI
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: