Results 1 to 2 of 2

Thread: QMenu: No such file or directory

  1. #1
    Join Date
    Sep 2009
    Location
    Nanjing, China
    Posts
    46
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QMenu: No such file or directory

    Hi! I wound if anyone got this kind of problem in QtCreator.

    I'm trying to create a shared library with Qt. At first everything goes OK,
    but suddenly something wrong, maybe <QMenu> disappeared with the error
    message: No such file or directory. Or when you compile QtSolutions,
    QApplication is the same problem. But it seems you did not change anything.
    If you check makefile, the Qt path is correct. Generally speaking, all Qt library
    lost. Even I add QT += ui core, the errors are still there.

    I don't know how this happened? Have you got this problem?

  2. #2
    Join Date
    Nov 2007
    Posts
    89
    Thanked 21 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QMenu: No such file or directory

    Try QT += gui (with 'g').
    Anyway, it should be already defined by default, unless you have a statement like QT = ... (without '+').

Similar Threads

  1. Replies: 2
    Last Post: 9th March 2010, 06:21
  2. Replies: 10
    Last Post: 15th June 2009, 20:44
  3. QApplication: No such file or directory
    By graciano in forum Installation and Deployment
    Replies: 6
    Last Post: 15th June 2009, 11:35
  4. Recognizing file or directory
    By AD in forum Qt Programming
    Replies: 3
    Last Post: 7th July 2008, 17:18
  5. create file in another directory
    By raphaelf in forum Qt Programming
    Replies: 3
    Last Post: 16th February 2006, 11:04

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.