Results 1 to 3 of 3

Thread: Problem while creating a main window

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2013
    Location
    Hyderabad
    Posts
    52
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Problem while creating a main window

    I'm new to qt. well,I want to design a main window here I'm facing a problem with the following errors


    /home/stesalit/Desktop/tasks/mainmenu/main.cpp:7: error: ‘MainWindow’ was not declared in this scope
    /home/stesalit/Desktop/tasks/mainmenu/main.cpp:7: error: expected ‘;’ before ‘w’
    /home/stesalit/Desktop/tasks/mainmenu/main.cpp:8: error: ‘w’ was not declared in this scope


    Here are the screen shots of my files in attachments, can anyone please help me out in rectifying those errors ??
    Attached Images Attached Images

Similar Threads

  1. Replies: 2
    Last Post: 29th June 2011, 14:24
  2. Main Window size problem
    By frenk_castle in forum Newbie
    Replies: 2
    Last Post: 20th December 2009, 10:49
  3. Creating a Main Window Application
    By gt.beta2 in forum Qt Tools
    Replies: 13
    Last Post: 24th February 2009, 19:45
  4. Problem with main window
    By M.A.M in forum Qt Programming
    Replies: 2
    Last Post: 2nd June 2008, 13:55
  5. Problem displaying my main window
    By Salazaar in forum Newbie
    Replies: 104
    Last Post: 16th January 2008, 14:01

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.