* Re:Re: Problem to develop Qt5 application in Samba share
@ 2020-01-09 9:59 PAULUS, Raimund, TI-ABN
2020-01-13 9:24 ` PAULUS, Raimund, TI-ABN
0 siblings, 1 reply; 4+ messages in thread
From: PAULUS, Raimund, TI-ABN @ 2020-01-09 9:59 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem to develop Qt5 application in Samba share
2020-01-09 9:59 Re:Re: Problem to develop Qt5 application in Samba share PAULUS, Raimund, TI-ABN
@ 2020-01-13 9:24 ` PAULUS, Raimund, TI-ABN
0 siblings, 0 replies; 4+ messages in thread
From: PAULUS, Raimund, TI-ABN @ 2020-01-13 9:24 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem to develop Qt5 application in Samba share
2020-01-07 8:42 ` PAULUS, Raimund, TI-ABN
@ 2020-01-07 17:59 ` René Berber
0 siblings, 0 replies; 4+ messages in thread
From: René Berber @ 2020-01-07 17:59 UTC (permalink / raw)
To: cygwin
On 1/7/2020 2:42 AM, PAULUS, Raimund, TI-ABN wrote:
>
> 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
PATH is not the only environment variable needed.
> /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 ---
That looks like a configuration error, what does your QTDIR environment
variable have?
You should be able to do this:
$ find $QTDIR -name "cygwin-g++"
and get a result.
--
R.Berber
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Problem to develop Qt5 application in Samba share
[not found] <013b14634a3e40dfbb5bfd3f51726785@resw122.resdom01.local>
@ 2020-01-07 8:42 ` PAULUS, Raimund, TI-ABN
2020-01-07 17:59 ` René Berber
0 siblings, 1 reply; 4+ messages in thread
From: PAULUS, Raimund, TI-ABN @ 2020-01-07 8:42 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-01-13 9:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09 9:59 Re:Re: Problem to develop Qt5 application in Samba share PAULUS, Raimund, TI-ABN
2020-01-13 9:24 ` PAULUS, Raimund, TI-ABN
[not found] <013b14634a3e40dfbb5bfd3f51726785@resw122.resdom01.local>
2020-01-07 8:42 ` PAULUS, Raimund, TI-ABN
2020-01-07 17:59 ` René Berber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).