delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/01/13/04:25:47

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:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=rpCQ9wAkkepro2qV
zNUTFYpd8xlo7t6IWraJw1sjFfzzFfXqOft9lDyB4Uj6vtDYSHgx/thmWDYWHLka
9yxDBSN8blC3grZ+md/TOJrCafLtU0A9qn7WFL4Imunc+saHCun5B4PRzv8Vy0Nk
5lwUYJ1QdkLnR29uJ3WNxcZiAqU=
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:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; s=default; bh=Hwr3Enb0okQQOv6oL+vQng
p7yAY=; b=fsoHGDVgc5gI16BMIi+AuAux6KI0Ca4y6qFB4iU4ItsEcRdOH71R2Q
54yDYLu/Cdn/Se8WjwMXNSICr++Eh/nGPD/U2R+RBxy+8YK+JHLYVKltDFrZKnB6
Onkvgp7La3yMPs5w7aqNXt/Rwg23+4o4IptoVLx/nAKBkXEE5q+l4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.9 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=UD:pro, H*c:alternative, H*c:HHH
X-HELO: mailrelay.dillinger.de
From: "PAULUS, Raimund, TI-ABN" <Raimund DOT Paulus AT dillinger DOT biz>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Problem to develop Qt5 application in Samba share
Date: Mon, 13 Jan 2020 09:24:45 +0000
Message-ID: <82b3589720c1425bb6482b56725b81f3@resw122.resdom01.local>
References: <8cc0cd6963ad4007a9a48ebb878a1ccd AT resw122 DOT resdom01 DOT local>
In-Reply-To: <8cc0cd6963ad4007a9a48ebb878a1ccd@resw122.resdom01.local>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 00D9PQVR007842

The problem is solved. It was an entry in the Samba configuration file smb.conf in section [global]:

unix charset = ISO8859-1

After deleting this entry qmake works correctly.

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019