X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=B6H J/KlyGqow3lre3IPaO+Ye0yBUE6PjqBUtSSEhFGWu88IE1d3Zf0IadAOba/iIT5t W2ztd/ZGfuomZ2DMfUhVKm8akY0mxAh2QIoMbsKqvmd6Pqsq5dCsf3j4BNeojHGe n/Zg4ioaWoZgPtZJgqIDbmKKTamIX9cHh+g8XbcQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=9PSCq1wc1 FE7a1ACxeNoDj70qz8=; b=SatOMrQtBEjf0ppJKKWrQlUfMjcLZVJw2rB1et4Oj Hc/eNWJRijZjRx3vYDb9bPJxZ5MDF01u04cMoTMFYnYLGV3cFaq/hS4aaZUrB5ok KQjDZ/6UOKfLppSUk755C/AD7pFbjKdU+7iNudoT1p0yi24xe8ogVsof3XIG3YfZ NI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,HTML_MESSAGE,KAM_INFOUSMEBIZ,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*MI:local, connected, H*M:local, SATA X-HELO: mailrelay.dillinger.de From: "PAULUS, Raimund, TI-ABN" To: "cygwin AT cygwin DOT com" Subject: Re:Re: Problem to develop Qt5 application in Samba share Date: Thu, 9 Jan 2020 09:58:58 +0000 Message-ID: <8cc0cd6963ad4007a9a48ebb878a1ccd@resw122.resdom01.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 0099xeQ3026014 To make it clear: After the installation of Cygwin: - QTDIR is not set. Setting QTDIR has no effect concerning the error. - In /usr/bin is the file qmake_qt5. This is a symlink to ../lib/qt5/bin/qmake. I included this directory in PATH, cause I prefer to call qmake directly. If I call qmake-qt5 the errors are the same. I suspect the reason for the errors is the Samba share. As I said, working with qmake on other shares is ok. Raimund Paulus For many years i develop C/C++ applications in Cygwin with source code located in Samba shares. The shares are available on Windows with "net use ..." command. In Cygwin they are available via /cygdrive. Now I have to write applications using Qt 5. But there is a problem: First i go to the project directory (cd ...) and write the source files. After that i call "qmake -project" (PATH includes /lib/qt5/bin), If the project (source codes) is located on the local drive or a drive connected via SATA/USB, all is ok and the file *.pro is generated. If the sources are located on a Samba share, there are error messages: --- Could not find qmake configuration file cygwin-g++. Cannot find feature default_pre.prf Cannot find feature default_post.prf --- The Samba server is a Linux host. This problem is the same on Windows 7 / Windows 10 and Cygwin 2.5.2 / Cygwin 3.1.2. The problem does not exist if i use a Windows Qt Creator IDE from qt.io. I couldn't find any hints on the internet, mailing lists, FAQ, ... Can you help? Many greetings Raimund Paulus -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple