Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    General and Desktop
    7
    8
    3304
    Loading More Posts
    • 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
      yashaswiram last edited by

      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 Reply Quote 0
      • P
        p-himik last edited by

        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 Reply Quote 0
        • K
          koahnig last edited by

          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 Reply Quote 0
          • Y
            yashaswiram last edited by

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

            1 Reply Last reply Reply Quote 0
            • T
              tucnak last edited by

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

              1 Reply Last reply Reply Quote 0
              • R
                Rahul Das last edited by

                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/


                  Rahul Das
                

                1 Reply Last reply Reply Quote 0
                • L
                  lgeyer last edited by

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

                  Do not modify any generated files.

                  1 Reply Last reply Reply Quote 0
                  • G
                    goetz last edited by

                    [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 Reply Quote 0
                    • First post
                      Last post