Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. helper/qmlapplicationviewer/qmlapplicationviewer.h': No such file or directory
QtWS25 Last Chance

helper/qmlapplicationviewer/qmlapplicationviewer.h': No such file or directory

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 2 Posters 2.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • JoeCFDJ Offline
    JoeCFDJ Offline
    JoeCFD
    wrote on last edited by
    #1
    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
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Do you have any spaces in your paths ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      JoeCFDJ 1 Reply Last reply
      0
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by
        #3

        thanks, Champion. Good point! I will try it again.

        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi and welcome to devnet,

          Do you have any spaces in your paths ?

          JoeCFDJ Offline
          JoeCFDJ Offline
          JoeCFD
          wrote on last edited by
          #4

          @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.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            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.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            JoeCFDJ 1 Reply Last reply
            0
            • SGaistS SGaist

              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.

              JoeCFDJ Offline
              JoeCFDJ Offline
              JoeCFD
              wrote on last edited by JoeCFD
              #6

              @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.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Ok… One simple rule here: zip is for Windows, tar.gz are for *nix system.

                Partly because of the line ending handling.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • JoeCFDJ Offline
                  JoeCFDJ Offline
                  JoeCFD
                  wrote on last edited by
                  #8

                  got it. Thanks.

                  1 Reply Last reply
                  0
                  • JoeCFDJ Offline
                    JoeCFDJ Offline
                    JoeCFD
                    wrote on last edited by
                    #9

                    more specifically: do not use WinRar to unzip the source code of old Qt versions. Instead use 7 Zip. The problem will be gone

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved