Results 1 to 20 of 105

Thread: Problem displaying my main window

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2006
    Posts
    788
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    49
    Thanked 48 Times in 46 Posts

    Default Re: Problem displaying my main window

    I use a tool to create cpp (source) && h (header file)


    Finaly on main to show the gui you use on main...
    ## MainWindow is class name....
    MainWindow::self()->setWindowTitle( _PROGRAM_TITLE_ );
    MainWindow::self()->show();


    download QTutils tool -> http://ppk.ciz.ch/qt_c++/QT_utils.zip
    cd QT_utils
    qmake
    make

    Open QTUtils insert the class name on top && select mainwindow/Dialog/Widged type same as ui file && generate the code as header & source ... or only as header....

    Put the file on projekt dir && run && main.cpp
    on cmd dir qmake -project
    call the dialog on main...

    but on top from pro file ...

    MOC_DIR = build/.moc
    RCC_DIR = build/.rcc
    OBJECTS_DIR = build/.obj
    UI_DIR = ui

    and final
    qmake && make.
    Attached Images Attached Images

Similar Threads

  1. Replies: 15
    Last Post: 23rd March 2007, 17:16
  2. move parent window to the front.
    By hvengel in forum Qt Programming
    Replies: 4
    Last Post: 2nd February 2007, 09:41
  3. Problem in porting Main window on linux
    By jyoti kumar in forum Qt Tools
    Replies: 2
    Last Post: 2nd June 2006, 09:35
  4. cannot make a main window modal
    By Dark_Tower in forum Qt Programming
    Replies: 12
    Last Post: 23rd March 2006, 11:21
  5. Main window
    By Michiel in forum Qt Tools
    Replies: 1
    Last Post: 21st March 2006, 00:54

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.