Results 1 to 6 of 6

Thread: Converting UIC 2 .h & .Cpp

  1. #1
    Join Date
    Aug 2009
    Posts
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Converting UIC 2 .h & .Cpp

    OK....After drag and drop operations In Qt Designer... When i compile the codes ....they are not seperated...How can i get the codes in its individual modules i.e .h and .cpp ?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Converting UIC 2 .h & .Cpp

    Please use appropriate language - full sentences and clear and understandable descriptions. What is not separated? How do you "compile the codes"?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Aug 2009
    Posts
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Converting UIC 2 .h & .Cpp

    Quote Originally Posted by wysota View Post
    Please use appropriate language - full sentences and clear and understandable descriptions. What is not separated? How do you "compile the codes"?
    This is what i meant. -> To build an application with QT creator you will need the header files(.h) and ssource file(.cpp) and ofcourse the main file. Now my problem is, after using the QT designer for the UI(user Interface) you could compile and get its soucre codes, but they are all together, not seperated into the different files( .h, .cpp and main). Am sure there's a way you could get the Designer compiler to get codes in their different files( .h, .cpp and main) but i can figure that out yet so i need someone to help me one that.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Converting UIC 2 .h & .Cpp

    No, there is no such way. Read this instead: Using a Designer .ui File in Your Application
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Aug 2009
    Posts
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Converting UIC 2 .h & .Cpp

    Quote Originally Posted by wysota View Post
    No, there is no such way. Read this instead: Using a Designer .ui File in Your Application
    Its seem you dont understande me. This is it, you could get source code from QT designer right! Quite true, but i need those codes to be compiled(UIC) into various files(header .h, main.cpp, Source code.cpp) There's a way to do that in KDE but i dont know how to with IDE.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Converting UIC 2 .h & .Cpp

    No, there is no way to do that in KDE as well. Designer creates a .ui file which is then translated by a tool called uic into a header file. That's it. All the other files you have to create and implement yourself.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Problem with uic !!!!!
    By webquinty in forum Newbie
    Replies: 2
    Last Post: 10th July 2008, 18:05
  2. how can i generate .cpp file in QT 4.3.0
    By gamitkumar in forum General Programming
    Replies: 4
    Last Post: 3rd September 2007, 22:23
  3. UIC eol control
    By Max Yaffe in forum Qt Tools
    Replies: 0
    Last Post: 13th July 2007, 20:25
  4. Replies: 2
    Last Post: 11th July 2006, 14:19
  5. uic not creating seperate .h and .cpp files
    By Kapil in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2006, 10:43

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.