Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt3 to Qt4 porting. Layout names not saved
Forum Updated to NodeBB v4.3 + New Features

Qt3 to Qt4 porting. Layout names not saved

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 Posters 4.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    blex
    wrote on last edited by
    #1

    If uic3 is used for source file generation from *.ui files then layout variable names are not saved.

    How to keep the old layout names in the generated code? Does any uic3 option exist?


    Oleksiy Balabay

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Franzk
      wrote on last edited by
      #2

      Look in the output from
      @uic3 -help@
      If what you need isn't stated there, then it's probably too bad. Maybe you can retrieve the variables by using the object name. You could also see what the -convert option does for you.

      "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • B Offline
        B Offline
        blex
        wrote on last edited by
        #3

        Nothing interesting in "uic3 -help"

        I will check the object names, thanks for the idea.


        Oleksiy Balabay

        1 Reply Last reply
        0
        • B Offline
          B Offline
          blex
          wrote on last edited by
          #4

          [quote author="blex" date="1290415001"]I will check the object names, thanks for the idea.[/quote]

          Unfortunately, the names are also not saved.


          Oleksiy Balabay

          1 Reply Last reply
          0
          • F Offline
            F Offline
            Franzk
            wrote on last edited by
            #5

            That's a shame. Did you try converting to qt4 uis as well?

            "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

            http://www.catb.org/~esr/faqs/smart-questions.html

            1 Reply Last reply
            0
            • B Offline
              B Offline
              blex
              wrote on last edited by
              #6

              [quote author="Franzk" date="1290497693"]That's a shame. Did you try converting to qt4 uis as well? [/quote]

              No, the task description is to use uic3 :)

              I have solved the problem by application code modification. Now the generated layout object variables are used to modify layout settings. I just asked about better solution.


              Oleksiy Balabay

              1 Reply Last reply
              0
              • F Offline
                F Offline
                Franzk
                wrote on last edited by
                #7

                OK then.

                "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

                http://www.catb.org/~esr/faqs/smart-questions.html

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved