Mail Archives: cygwin/2019/07/29/04:34:16
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:mime-version:references:in-reply-to:from:date
|
| :message-id:subject:to:content-type:content-transfer-encoding;
|
| q=dns; s=default; b=svwlLEkM3xMqDIxwlExvINranj7CHbYdtPdz4343ZqX
|
| juVF0LFwNgsYg7mzd32DecJWw14pYPP/CUqssjK9e9UY5EOa86WLCDas0jQlRSQG
|
| XxwxLluTjSFOAX/aIc+IzYo/U4AmPhu1HJIJ9AZFcW5N+yGK25b44mi01AJ6UW6E
|
| =
|
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:mime-version:references:in-reply-to:from:date
|
| :message-id:subject:to:content-type:content-transfer-encoding;
|
| s=default; bh=6OJ/zkqS92DMCR8fjAKNe2yXGf8=; b=fKIet1dgwQYRgVdVR
|
| bS8GtivdDar5enKEG6uVtnFoJ6zsacWXHogfzWfrOjTmcLiJbxzwkAe4s0dKhOXN
|
| MeHJ6iYQh7m+VFl0uNdptoqJqcOplrgCDePftE9w+Rvh/xJZqGd+2De5XlKp2P1p
|
| qKHsEtOY4it88B5g/8mCOv6+/E=
|
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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=kit, Problem, notepad, UD:problems.html
|
X-HELO: | mail-io1-f51.google.com
|
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=PFNYWTbShkAbiB/j/SeUO+NroDwKmkuTbRy4mxsIjQY=; b=E4NGHo41zuQEX1OcIcukC4yGSGdq0UVpZTe77ylHr1G7TePB/CEkZMdXm2bctZnPGb u547ApFLatTHnueAAiSrWiB+YADsog5Ks+2rmMkTHGZqJHfOtEQ1pZdDGl8di46HEl4K fE++woKpj60hQEwpltoeYzg/QpTv4OQD9npMUFT/rG7kwL/pf8yz45RTF//q7fIvVBr4 7y6H6cbBWU8dLbrFxM9ReTy+n5BfA+GoX5r0G0YEFdR82JJMc3gvMGaV2hwofovguvXw kpt6jFcsr2ESuRpDKlAQ+hOf8olBJVSAvOgvfL0pBIDpzu/htpXccSgQelHlA2KDYeWT Z8NA==
|
MIME-Version: | 1.0
|
References: | <03641eb2-5a32-b6f7-2fb2-f71af81f76d9 AT gmail DOT com> <01f85e1d-788d-1727-7549-bf216448ca31 AT SystematicSw DOT ab DOT ca>
|
In-Reply-To: | <01f85e1d-788d-1727-7549-bf216448ca31@SystematicSw.ab.ca>
|
From: | Jean Vanhay <jean DOT vanhay AT gmail DOT com>
|
Date: | Mon, 29 Jul 2019 10:33:01 +0200
|
Message-ID: | <CAFqei5RQr6jO_CEgCS=+KhhgCHgYHUtoZMrgJm1KKhyDLCMkMQ@mail.gmail.com>
|
Subject: | Re: Compilation of Qt5 Cygwin in Qt Creator
|
To: | Brian DOT Inglis AT systematicsw DOT ab DOT ca, cygwin AT cygwin DOT com
|
X-IsSubscribed: | yes
|
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id x6T8XqIA003438
|
Hello Brain,
Thanks for your reply :-). To answer yours questions :
> Do you also have to build under and for the Cygwin environment,
> and run under Cygwin?
I think I am not clear.. sorry. I need to build under Cygwin (qmake /
make). I develop under Windows. Actually with notepad++.
The binary file is injected on a board where ElinOS6.2 is running.
Because the project use Qt Libraries, I want to develop under Qt Creator
(Windows Version). I search a way to do that :).
I hope I am a little bit more clear :).
> Think of Cygwin as another Unix distro rather than a Windows environment.
> It's easy to port many Linux and X11 applications to Cygwin and Cygwin/X.
> It's major work to port any Windows app to Cygwin or any other Unix
distro.
> Just pretend you're working under a strange Unix distro (like SuSE) ;^>
I am working with a strange Unix distro, ElinOS is based on Yocto ;). It
can be weird to develop a Unix app under Windows but I search a way to do
that.
Actually the qmake & make search the right libs to compile, only if I
launch both command under the cygwin.
My project works on the target. I have actually tried the qmake & make from
ElinOS, I can do the same from cygwin.
> You would have to port Qt Creator to run under Cygwin/X, as has been done
with
> Qt Designer and the other QT tools.
Is it possible to do the opposite ? I would like to create a Kit where :
- Compilers is the gcc/g++ from Cygwin / ElinOS (works)
- Debbuger is the gdb from Cygwin / ElinOS (works)
- Qt Versions is the qmake from Cygwin / ElinOS (actually the main issue)
The last point is the hardest point to resolve (as describe in my first
email).
> You should be able to build Qt Creator to run under Cygwin/X, using the
cygport
> utility to make it easier to reproduce a Unix package build under Cygwin.
> ...
> ...
As I understand I need to use Cygwin/X. I am going to try that (I never
used it).
Best Regards,
Jean Vanhay
Le dim. 28 juil. 2019 Ã 17:02, Brian Inglis <Brian DOT Inglis AT systematicsw DOT ab DOT ca>
a écrit :
> On 2019-07-27 05:39, Jean Vanhay wrote:
> > I have some issues about Cygwin Qt5 and Qt Creator on Windows 10.
> > I have a computer running on Windows 10 and a Qt versions Qt 5.11.2
> MinGW 32
> > bits and Qt Creator 4.7.2.
> > I have a project where it is required to develop under a Cygwin
> environment.
>
> Do you also have to build under and for the Cygwin environment, and run
> under
> Cygwin?
>
> You could run your existing Ubuntu code under WSL displaying on Cygwin/X.
>
> > After install cygwin, I was hoping cygwin Qt Versions can be integrated
> to the
> > Qt Creator IDE on Windows 10. But for some reason, I never succed to
> install it.
> > If I try to install Qt Versions from Cygwin 64, on Qt Creator I have
> this message :
> > -> Qt Creator -> Options -> Kits -> Qt Versions -> Add...
> > qmake C:\cygwin64\lib\qt5\bin\qmake.exe could not be added
> > "C:\cygwin64\lib\qt5\bin\qmake.exe" crashed.
> > I can add compiler / debugger but the environment to develop is not
> correct
> > because of the qmake crashed.
>
> Think of Cygwin as another Unix distro rather than a Windows environment.
> It's easy to port many Linux and X11 applications to Cygwin and Cygwin/X.
> It's major work to port any Windows app to Cygwin or any other Unix distro.
> Just pretend you're working under a strange Unix distro (like SuSE) ;^>
>
> > The other cygwin environment that I want to use comes from SysGo/ElinOS.
> I have
> > open a topic on the Qt Forum :
> > https://forum.qt.io/topic/105153/qt-versions-cygwin-g
> > If I do the same step than cygwin64, the error message is completely
> different :
> > cannot read
> >
> /opt/elinos-6.2/cdk/x86/x86_64/glibc-2.24/share/qt5/mkspecs/devices/linux-elinos-g++/qmake.conf
> > : no such file or directory
> >
> > After some research on how to change the qmake -query that Qt Creator do
> when I
> > want to install a Qt versions, i discovered that the problem can maybe
> come from
> > cygwin.
> > If I create a qt.conf file. And depending on the path I write
> > "/cygdrive/c/sysgo/opt/..." or "C:\sysgo\opt", the Qt Creator send me
> some
> > differents messages.
> > When I write "/cygdrive/c/..." => Qt Creator write the full path as
> cygwin path.
> > When I write "C: \" => Qt Creator get back the
> "default" path.
> >
> > I hope the background is a little clear... In both way my questions is :
> > - How to install cygwin64 Qt 5 on Qt Creator Windows version ?
>
> You would have to port Qt Creator to run under Cygwin/X, as has been done
> with
> Qt Designer and the other QT tools.
>
> > - Is it possible to "custom" "hardcoded" path in cygwin to have a full
> path from
> > root C:\ ?
>
> You should be able to build Qt Creator to run under Cygwin/X, using the
> cygport
> utility to make it easier to reproduce a Unix package build under Cygwin.
>
> If sources are available on any of the standard mirrors, and build using
> any of
> the standard tool chains, the effort required can be minimal, once you
> understand how to get cygport to do your work for you. That's how Cygwin
> volunteers are able to support 11270 packages on two architectures in their
> spare time.
>
> There are 96 qt5 support and 34 library packages available under Cygwin,
> but
> only for 5.9 currently, and only clang/llvm 5 as yet. You may be able to
> build
> the newer versions if required by starting from the current Cygwin
> packages and
> sources, and using those as bases for building the newer versions from
> newer
> sources.
>
> You would need to install the Cygwin/X x.org server, tools, and
> development
> packages for X and Qt, and any build dependencies, as you would under
> Linux.
> The Cygwin package names may differ somewhat from the Linux package names
> e.g.
> qt5-declarative-tools, qt5-devel-tools, qt5-doc-tools, qt5-linguist-tools,
> although not all required packages or libraries may have been ported to
> Cygwin yet.
>
> Porting Linux packages to Cygwin using cygport involves installing the
> cygport
> package, any of your package build dependencies, defining the package name
> and
> version and where to download the sources (many mirrors are supported) in a
> PACKAGE.cygport file, running "$ cygport PACKAGE.cygport download all
> test", and
> fixing any build or test issues, as you would on Linux.
>
> You could download the sources for the qt5-...-tools packages and use those
> PACKAGE.cygport files as models for one for Qt Creator.
>
> Once cygport builds your Cygwin package, you can install your build using:
> $ tar -xvf PACKAGE-V.V-1.x86_64/dist/PACKAGE/PACKAGE-V.V-1.tar.xz -C /
> or submit it for inclusion in the Cygwin repo, so it can be installed using
> Cygwin setup by anyone, anywhere.
>
> --
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>
> This email may be disturbing to some readers as it contains
> too much technical detail. Reader discretion is advised.
>
> --
> 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
>
>
--
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 -