delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "Mark Moriarty" <mfmori AT hotmail DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <f3hhrr$qt1$1 AT sea DOT gmane DOT org> <465C4C15 DOT 7080104 AT gmail DOT com> |
Subject: | RE: Slightly off-topic, but... |
Date: | Tue, 29 May 2007 12:17:28 -0400 |
Message-ID: | <000901c7a20c$da5c7c70$3202a8c0@Mark> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <465C4C15.7080104@gmail.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Eric Lilja wrote: > Hi, I've installed qt-win-opensource-4.2.3-mingw.exe from trolltech > and I'm using the tools installed by cygwin to develop Qt programs. > Well, one could argue I'm not really using cygwin because I have to > pass -mno-cygwin when compiling otherwise I get errors for non-trivial programs. > Anyway, -mno-cygwin makes the executables dependent on mingwm10.dll > instead of cygwin1.dll, correct? Since my QT programs depend on this > dll I can only start them from a cygwin shell since cygwin itself is > not in windows path (and I don't think it should be). > My question is how safe is it to put mingwm10.dll in the windows path > so I can start my qt programs from explorer? That would mean having > two copies of the same dll in the path under cygwin...which I know is > bad for cygwin1.dll. I was thinking of writing a startup script that > checks that the files are identical so I know when I need to update > the copy. I also tried to put a shortcut to the dll but that didn't > work which was very unfortunate I think. > > Any comments welcome...sorry for being off-topic, but maybe this is of > interest to people using cygwin and maybe want to develop Qt programs > and don't have a real mingw installation (I don't). > > - Eric > > PS. I know -mno-cygwin is probably going to be removed in a future > version of cygwin's compiler, does that mean I would have to maintain > a real mingw installation to develop Qt programs? I have MSVC++ as > well, but I believe the Qt version for MSVC++ costs money. Maybe I > will buy that later when I really need a debugger I can wrap my head around, heh. > DS. > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > easy way: 1 - compile as normal 2 - after qmake finishes, COPY cygwin1.dll mingwm10.dll and qtui.dll (or someshizzat like that) to the OUTPUT directory of your build. now you can run all this from just doulble clicking it in Windows. - -- Just a Thought Morgan Gangwere ------------------------------------------------------ It probably depends on what you're actually trying to do/build. I use Cygwin as my environment to build VLC (a cross-platform video package). VLC is adding a QT4-based GUI. The output file set (a lot of DLLs, plus the main executable) does not require any Cygwin or Mingw DLL to run. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |