Results 1 to 11 of 11

Thread: How to get the *.h and *.cpp from *.ui generated by QtDesigner?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Thanks
    76
    Thanked 37 Times in 32 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to get the *.h and *.cpp from *.ui generated by QtDesigner?

    unix {
    UI_DIR = .ui
    MOC_DIR = .moc
    OBJECTS_DIR = .obj
    }
    Here it is
    []
    We can't solve problems by using the same kind of thinking we used when we created them

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

    Default Re: How to get the *.h and *.cpp from *.ui generated by QtDesigner?

    Come on guys, normal sized fonts are just as pretty as those huge ones...

  3. #3
    Join Date
    Nov 2006
    Posts
    58
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: How to get the *.h and *.cpp from *.ui generated by QtDesigner?

    Quote Originally Posted by sunil.thaha View Post
    unix {
    UI_DIR = .ui
    MOC_DIR = .moc
    OBJECTS_DIR = .obj
    }

    Here it is
    []
    First there is no .ui , .moc and .obj in my directory after compiling.
    And then I have seen you wrote that "Here it is []", then I tried to change the {} to []. But after the revision, when I type qmake -o Makefile metric.pro, there occurred an error which stemed from the [].

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to get the *.h and *.cpp from *.ui generated by QtDesigner?

    Quote Originally Posted by luffy27 View Post
    First there is no .ui , .moc and .obj in my directory after compiling.
    Can you post the result of "ls -la" command?

  5. #5
    Join Date
    Mar 2006
    Location
    Mexico City
    Posts
    31
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to get the *.h and *.cpp from *.ui generated by QtDesigner?

    Quote Originally Posted by luffy27 View Post
    First there is no .ui , .moc and .obj in my directory after compiling.
    .
    Your makefile uses .ui, .obj, and .moc directories to compile. So I'm almost sure there is a .ui directory with the .h and .cpp files.

    Use "ls -a" to see hidden directories, or just "ls .ui".

    Bye
    Uppps!!
    Sorry, I didn't see Jacek answer...
    Last edited by arnaiz; 27th November 2006 at 20:42. Reason: Nothing new inside

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
  •  
Qt is a trademark of The Qt Company.