From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47945 invoked by alias); 29 Jul 2019 19:32:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 47938 invoked by uid 89); 29 Jul 2019 19:32:13 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=exceed, apps, H*F:D*ab.ca, apt X-HELO: smtp-out-no.shaw.ca Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.12) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 29 Jul 2019 19:32:12 +0000 Received: from [192.168.1.114] ([24.64.172.44]) by shaw.ca with ESMTP id sBNRhsYhoUIS2sBNShU2bR; Mon, 29 Jul 2019 13:32:10 -0600 From: Brian Inglis Subject: Re: Compilation of Qt5 Cygwin in Qt Creator Reply-To: Brian.Inglis@SystematicSw.ab.ca To: cygwin@cygwin.com References: <03641eb2-5a32-b6f7-2fb2-f71af81f76d9@gmail.com> <01f85e1d-788d-1727-7549-bf216448ca31@SystematicSw.ab.ca> Openpgp: preference=signencrypt Message-ID: Date: Mon, 29 Jul 2019 19:32:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-07/txt/msg00262.txt.bz2 On 2019-07-29 02:33, Jean Vanhay wrote: >> 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 :). Only qmake version is for QT4 under Mingw: $ apt list qmake mingw64-i686-qt4-qmake 4.8.7-1 x86_64 mingw64-i686-qt4-qmake-debuginfo 4.8.7-1 x86_64 mingw64-x86_64-qt4-qmake 4.8.7-1 x86_64 mingw64-x86_64-qt4-qmake-debuginfo 4.8.7-1 x86_64 After installing Cygwin utilities and adding the C:...\cygwin64\bin directory to your Windows User path, you can just run any Cygwin program from Windows. Many users run Cygwin from a Windows console cmd shell rather than mintty and bash. >> 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). That only allows you to run X apps under Windows like Xming, Exceed, etc. -- 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