Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. qmake error with project files on samba share

qmake error with project files on samba share

Scheduled Pinned Locked Moved Solved Installation and Deployment
windowsqmakenetwork share
4 Posts 2 Posters 1.3k 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.
  • S Offline
    S Offline
    smhrambo
    wrote on last edited by
    #1

    Hi,
    after a few years i'm back to qt, but i have problems to build my simple window application.
    qmake have problems with my environment.

    the error message:
    "E:\Entwicklungsumgebung\Qt\Qt5.12.0\5.12.0\mingw73_64\bin\qmake.exe" H:\Documents\untitled\untitled.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
    ASSERT: "fileName.isEmpty() || isAbsolutePath(fileName)" in file C:/Users/qt/work/qt/qtbase/qmake/library/ioutils.cpp, line 53

    the environment:
    Windows 10 Pro with Roaming-Profiles.
    I have a samba 4 AD server to share my files between all my computers.
    All projectfiles are on a roaming network share, represent as user document folder but located on //$servername/home/$username/documents, hooked to H:\Documents
    The qt environment is located on a seperate HDD.

    Because qmake can't use a networkshare for building the project, i hooked the share on the drive letter H:.
    But now qmake can't find C:/Users/qt/work/qt/qtbase/qmake/library/ioutils.cpp, the directory don't exist, but where get he the path from.

    Thanks in advance
    Sascha

    aha_1980A 1 Reply Last reply
    0
    • S smhrambo

      Hi,
      after a few years i'm back to qt, but i have problems to build my simple window application.
      qmake have problems with my environment.

      the error message:
      "E:\Entwicklungsumgebung\Qt\Qt5.12.0\5.12.0\mingw73_64\bin\qmake.exe" H:\Documents\untitled\untitled.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
      ASSERT: "fileName.isEmpty() || isAbsolutePath(fileName)" in file C:/Users/qt/work/qt/qtbase/qmake/library/ioutils.cpp, line 53

      the environment:
      Windows 10 Pro with Roaming-Profiles.
      I have a samba 4 AD server to share my files between all my computers.
      All projectfiles are on a roaming network share, represent as user document folder but located on //$servername/home/$username/documents, hooked to H:\Documents
      The qt environment is located on a seperate HDD.

      Because qmake can't use a networkshare for building the project, i hooked the share on the drive letter H:.
      But now qmake can't find C:/Users/qt/work/qt/qtbase/qmake/library/ioutils.cpp, the directory don't exist, but where get he the path from.

      Thanks in advance
      Sascha

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @smhrambo,

      The qt environment is located on a seperate HDD.

      How did you install it there? Note that the installer patches qmake.exe and therefore you cannot relocate the installation.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      1
      • S Offline
        S Offline
        smhrambo
        wrote on last edited by
        #3

        Problem solved.

        Yes i installed the QT enviroment to the seperate HDD at E:\Entwicklungsumgebung\Qt, with the qt installer

        I had to create a new project, an locate it in H:\Documents.

        The project created in //$servername did not work, even if I accessed it via H:.
        Even a copy on E:\ did not work.

        I do not know why.

        aha_1980A 1 Reply Last reply
        1
        • S smhrambo

          Problem solved.

          Yes i installed the QT enviroment to the seperate HDD at E:\Entwicklungsumgebung\Qt, with the qt installer

          I had to create a new project, an locate it in H:\Documents.

          The project created in //$servername did not work, even if I accessed it via H:.
          Even a copy on E:\ did not work.

          I do not know why.

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @smhrambo deleting the *.pro.user file often helps when you do such moves...

          Qt has to stay free or it will die.

          1 Reply Last reply
          1

          • Login

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