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:subject:reply-to:to:references:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=V6pYxI2Tr23+uyUz /lyiCVvkFWk+GnswfMFZ48sayaOAAyULoLabyFsTqzI8nuzEZW8XHsSFYlxGlXav GOaXKLtbFNJJ6doGXxMWG/2Xp3u9dW7v2GyPxNEJYB6vyp8TpbzORaxEDAlS7o1y gh7luKWrfPhsO0YeausQaChprmQ= 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:subject:reply-to:to:references:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=T/qBBLu1wVy/bxnbkNw3SA Gy22g=; b=W5sAeuvtYcWpadSQNCV5cY4xX95suMp8Q7kV9XrM3SXBNpzO98VN/O rUEr0ucr5VleEBpPZXgv4qGcUKG/ivot23CAOOTgggSUwodEl0kwVfoTqN3OxBGj r9CUKFY9Ec7zPu4oJzkcSTF0edvOKnbkMP6yDZo+fuXavtJBhphdw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 From: Brian Inglis Subject: Re: Compilation of Qt5 Cygwin in Qt Creator Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca To: cygwin AT cygwin DOT com References: <03641eb2-5a32-b6f7-2fb2-f71af81f76d9 AT gmail DOT com> <01f85e1d-788d-1727-7549-bf216448ca31 AT SystematicSw DOT ab DOT ca> Openpgp: preference=signencrypt Message-ID: Date: Mon, 29 Jul 2019 13:32:08 -0600 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 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