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. How can i export my cpp code into .ui using Qt creator?

How can i export my cpp code into .ui using Qt creator?

Scheduled Pinned Locked Moved General and Desktop
8 Posts 7 Posters 3.7k Views
  • 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.
  • Y Offline
    Y Offline
    yashaswiram
    wrote on last edited by
    #1

    how can i export my cpp code into .ui using Qt creator...

    which i want to convert to python code using pyuic .

    am i doing the right thing ,or is there any alternate way? , plz suggest...

    1 Reply Last reply
    0
    • P Offline
      P Offline
      p-himik
      wrote on last edited by
      #2

      As i can understand you want to convert only cpp code that creates your GUI, right?
      Anyway i don't think that it's possible. If your GUI not so complex it will take only few minutes to create the same GUI with designer.

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        AFAIK this is not possible. From Qt overall design it is meant the other way around.
        The .ui are generated by designer and transformed to cpp-code, which may be used independent of designer.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • Y Offline
          Y Offline
          yashaswiram
          wrote on last edited by
          #4

          if thats the case can any one guide me to create a file bowser (column view) using qdesigner plzzz....

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tucnak
            wrote on last edited by
            #5

            Open ui_*.cpp file, where * = mainwindow as example.

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Rahul Das
              wrote on last edited by
              #6

              bq. if thats the case can any one guide me to create a file bowser (column view) using qdesigner plzzz….

              I thought you asked the same question and got the hints in another" post":http://developer.qt.nokia.com/forums/viewthread/12879/


              Declaration of (Platform) independence.

              1 Reply Last reply
              0
              • L Offline
                L Offline
                lgeyer
                wrote on last edited by
                #7

                [quote author="tucnak" date="1325156407"]Open ui_*.cpp file, where * = mainwindow as example.[/quote]

                Do not modify any generated files.

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  goetz
                  wrote on last edited by
                  #8

                  [quote author="Lukas Geyer" date="1325157002"][quote author="tucnak" date="1325156407"]Open ui_*.cpp file, where * = mainwindow as example.[/quote]

                  Do not modify any generated files.[/quote]

                  It will not harm, as there are won't be ui_*.cpp files generated :-)

                  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