Results 1 to 2 of 2

Thread: Missing file errors when Rebuilding example projects

  1. #1
    Join Date
    Nov 2009
    Posts
    18
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Missing file errors when Rebuilding example projects

    If I open an example project (like elastic nodes, or fridge magnets) and run it, then it works fine.
    If I rebuild it, that seems to go without errors. (looking at the compile output).

    However, if I rebuild it again I get errors like;

    mingw32-make: Leaving directory `D:/Qt/2009.04/qt/examples/graphicsview/elasticnodes'
    Could Not Find D:\Qt\2009.04\qt\examples\graphicsview\elasticnode s\release\moc_graphwidget.cpp
    Could Not Find D:\Qt\2009.04\qt\examples\graphicsview\elasticnode s\release\edge.o

    Exited with code 0.
    Configuration unchanged, skipping QMake step.
    The errors are always of this format. (although , depending on modes, sometimes its "debug" rather then release).

    It equaly applies to my own projects, and first I thought it was my code. But as its applying to the samples too, I'm now at a lose as to whats wrong.

    --

    ps. How would I look up "Could Not Find " on this forums search system? It assumes the "Not" to be an operator (So thus -Find). How can I escape/override that?

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Missing file errors when Rebuilding example projects

    Both missing files are generated during the build process. See whether you can find them on your harddisk before and after the build process. Maybe they get generated to the wrong directory. A file moc_ is generated by the q meta object compiler (moc). Maybe it is not in the path and thus cannot be invoked. Are there any error messages or warnings before the ones you pasted here?
    It's nice to be important but it's more important to be nice.

Similar Threads

  1. KDE shared object file is missing
    By SimbadSubZero in forum Qt Programming
    Replies: 0
    Last Post: 13th December 2009, 15:43
  2. build fails: krb5.h include file missing
    By paulocarvalho_br_2009 in forum Installation and Deployment
    Replies: 2
    Last Post: 24th May 2009, 17:13
  3. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 16:21
  4. errors while installing Qt4.2 in Linux
    By nimmyj in forum Installation and Deployment
    Replies: 11
    Last Post: 13th December 2006, 12:58

Tags for this Thread

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.