helper/qmlapplicationviewer/qmlapplicationviewer.h': No such file or directory
-
when I compile qt-4.8.6 on windows, found the following error in compiling: tmp\moc\release_shared\moc_qmlapplicationviewer .cpp(9) : fatal error C1083: Cannot open include file: '../../../../../../../helper/qmlapplicationviewer/qmlapplicationviewer.h': No such file or directory What is the reason? On some computers, no problem. Joey
-
Hi and welcome to devnet,
Do you have any spaces in your paths ?
-
@SGaist one difference I noticed is that
the problem folder qt-everywhere-opensource-src-4.8.6\src\plugins\platforms\uikit\examples\share\qmlapplicationviewer
from platforms\uikit\examples\share\qmlapplicationviewer is invisible when compiling fails on some computers. It is visible
when compiling succeeds. -
What's puzzling is that it's an example in a Mac specific plugin so the real question is why is there an attempt to build it.
-
What's puzzling is that it's an example in a Mac specific plugin so the real question is why is there an attempt to build it.
@SGaist I did not try to build it on purpose. But I figured out that the problem is caused by the source file which comes from gzip for Linux install. After I downloaded a zip one for WIndows, the problem is gone. Weird thing is that I could install gz source on some other Windows machines before. The zip version can not be used for install on Linux.
-
Ok… One simple rule here: zip is for Windows, tar.gz are for *nix system.
Partly because of the line ending handling.