This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problem to develop Qt5 application in Samba share
- From: "PAULUS, Raimund, TI-ABN" <Raimund dot Paulus at dillinger dot biz>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Mon, 13 Jan 2020 09:24:45 +0000
- Subject: Re: Problem to develop Qt5 application in Samba share
- References: <8cc0cd6963ad4007a9a48ebb878a1ccd@resw122.resdom01.local>
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