Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Qmake / QFileSystemEngine::currentPath: stat(".") failed - Trouble building project

    General and Desktop
    2
    3
    2331
    Loading More Posts
    • 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.
    • M
      malloc100 last edited by

      Hi,

      i am storing a Qt test-project in this szenario:

      Host: Linux (Debian) with samba and ACL
      Client: Linux (Ubuntu) with smb-client

      I mount some share from the host to the client. At the client I started Qt-Creator (current release) and start a new project, storing it on the mounted share.

      I can do anything at that location, create files, delete files, modify them, create directories. I also can chown and chmod all files.

      Such rights must be enough to compile the project but it wont work:

      user@PC:/media/DatenMedia/Develop/Qt/test1$ /home/user/Qt5.0.1/5.0.1/gcc/bin/qmake /media/DatenMedia/Develop/Qt/test1/Test1.pro -r -spec linux-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug
      QFileSystemEngine::currentPath: stat(".") failed
      QFileSystemEngine::currentPath: stat(".") failed
      QFileSystemEngine::currentPath: stat(".") failed
      Cannot find file: /media/DatenMedia/Develop/Qt/test1/Test1.pro.

      Again: All files are there, created by Qt-Creator, they can be modified an deleted as often as you want.

      I am obliged for any help.

      maLLoc

      1 Reply Last reply Reply Quote 0
      • T
        tobias.hunger last edited by

        Why don't you use a version control system to transfer your project from one machine to another? That has the additional benefit of rollbacks, logs, etc. and allows you to build your stuff on local drive which is faster anyway.

        1 Reply Last reply Reply Quote 0
        • M
          malloc100 last edited by

          Hi,

          just a useless reply @ Tobias Hunger....

          I am using git, i checked the project out with git...

          I created a test project just for fixing this problem.

          As I say - a useless reply doesnt regarding the problem in any way.

          I want to store (git controlled) projects on the mounted filesystem and I dont want to discuss why I want it that way.

          maLLoc

          1 Reply Last reply Reply Quote 0
          • First post
            Last post