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. Qmake / QFileSystemEngine::currentPath: stat(".") failed - Trouble building project
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.6k 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.
  • M Offline
    M Offline
    malloc100
    wrote on last edited by
    #1

    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
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      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
      0
      • M Offline
        M Offline
        malloc100
        wrote on last edited by
        #3

        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
        0

        • Login

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