public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Qt Creator & static libqt-mt.a
@ 2011-07-12  0:35 Phil Bouchard
  2011-07-12  1:03 ` Phil Bouchard
  2011-07-12  6:43 ` Yaakov (Cygwin/X)
  0 siblings, 2 replies; 18+ messages in thread
From: Phil Bouchard @ 2011-07-12  0:35 UTC (permalink / raw)
  To: cygwin

Hi,

Qt Creator is not part of Cygwin?

Furthermore having a static version of the Qt library would save 
everybody a lot of trouble (both Qt3 and Qt4).


-Phil


--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-12  0:35 Qt Creator & static libqt-mt.a Phil Bouchard
@ 2011-07-12  1:03 ` Phil Bouchard
  2011-07-12  5:53   ` Yaakov (Cygwin/X)
  2011-07-12  6:43 ` Yaakov (Cygwin/X)
  1 sibling, 1 reply; 18+ messages in thread
From: Phil Bouchard @ 2011-07-12  1:03 UTC (permalink / raw)
  To: cygwin

On 7/11/2011 8:33 PM, Phil Bouchard wrote:
> Hi,
>
> Qt Creator is not part of Cygwin?

What about qmake of Qt4?  This is not installed.


-Phil



--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-12  1:03 ` Phil Bouchard
@ 2011-07-12  5:53   ` Yaakov (Cygwin/X)
  2011-07-12 17:16     ` Phil Bouchard
  0 siblings, 1 reply; 18+ messages in thread
From: Yaakov (Cygwin/X) @ 2011-07-12  5:53 UTC (permalink / raw)
  To: cygwin

On Mon, 2011-07-11 at 21:03 -0400, Phil Bouchard wrote:
> What about qmake of Qt4?  This is not installed.

http://cygwin.com/packages/


Yaakov
Cygwin/X



--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-12  0:35 Qt Creator & static libqt-mt.a Phil Bouchard
  2011-07-12  1:03 ` Phil Bouchard
@ 2011-07-12  6:43 ` Yaakov (Cygwin/X)
  2011-07-12 17:24   ` Phil Bouchard
  1 sibling, 1 reply; 18+ messages in thread
From: Yaakov (Cygwin/X) @ 2011-07-12  6:43 UTC (permalink / raw)
  To: cygwin

On Mon, 2011-07-11 at 20:33 -0400, Phil Bouchard wrote:
> Qt Creator is not part of Cygwin?

Not currently, but it is available in Ports.

> Furthermore having a static version of the Qt library would save 
> everybody a lot of trouble 

Why?  A static Qt means no plugins, which is pretty worthless.

> (both Qt3 and Qt4).

Qt3 has been deprecated for years, is no longer supported, and will
likely be removed from the distro relatively soon.


Yaakov
Cygwin/X



--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-12  5:53   ` Yaakov (Cygwin/X)
@ 2011-07-12 17:16     ` Phil Bouchard
  2011-07-12 17:37       ` Marco atzeri
  0 siblings, 1 reply; 18+ messages in thread
From: Phil Bouchard @ 2011-07-12 17:16 UTC (permalink / raw)
  To: cygwin

On 7/12/2011 1:53 AM, Yaakov (Cygwin/X) wrote:
> On Mon, 2011-07-11 at 21:03 -0400, Phil Bouchard wrote:
>> What about qmake of Qt4?  This is not installed.
>
> http://cygwin.com/packages/

I don't see qmake for Qt4.  Besides, qt3to4.exe and many other binaries 
are not installed.


--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-12  6:43 ` Yaakov (Cygwin/X)
@ 2011-07-12 17:24   ` Phil Bouchard
  2011-07-13  2:41     ` Yaakov (Cygwin/X)
  0 siblings, 1 reply; 18+ messages in thread
From: Phil Bouchard @ 2011-07-12 17:24 UTC (permalink / raw)
  To: cygwin

On 7/12/2011 2:43 AM, Yaakov (Cygwin/X) wrote:
>
> Why?  A static Qt means no plugins, which is pretty worthless.

Distributing a standalone executable is much simpler than distributing 
an archive full of DLLs.  Plugins are needed only for drivers, fancy 
fonts, etc. not for a standard application.


--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-12 17:16     ` Phil Bouchard
@ 2011-07-12 17:37       ` Marco atzeri
  2011-07-12 18:17         ` Phil Bouchard
  0 siblings, 1 reply; 18+ messages in thread
From: Marco atzeri @ 2011-07-12 17:37 UTC (permalink / raw)
  To: cygwin

On 7/12/2011 7:15 PM, Phil Bouchard wrote:
> On 7/12/2011 1:53 AM, Yaakov (Cygwin/X) wrote:
>> On Mon, 2011-07-11 at 21:03 -0400, Phil Bouchard wrote:
>>> What about qmake of Qt4? This is not installed.
>>
>> http://cygwin.com/packages/
>
> I don't see qmake for Qt4. Besides, qt3to4.exe and many other binaries
> are not installed.
>
>

use the search functionality

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=qmake

see details of libQtCore4-devel

--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-12 17:37       ` Marco atzeri
@ 2011-07-12 18:17         ` Phil Bouchard
  0 siblings, 0 replies; 18+ messages in thread
From: Phil Bouchard @ 2011-07-12 18:17 UTC (permalink / raw)
  To: cygwin

On 7/12/2011 1:36 PM, Marco atzeri wrote:
>
> use the search functionality
>
> http://cygwin.com/cgi-bin2/package-grep.cgi?grep=qmake
>
> see details of libQtCore4-devel

That's strange I thought I had installed all Qt4 components and 
qmake-qt4.exe wasn't anywhere in the PATH.  Sorry for the confusion.


--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-12 17:24   ` Phil Bouchard
@ 2011-07-13  2:41     ` Yaakov (Cygwin/X)
  2011-07-13  2:54       ` Phil Bouchard
  0 siblings, 1 reply; 18+ messages in thread
From: Yaakov (Cygwin/X) @ 2011-07-13  2:41 UTC (permalink / raw)
  To: cygwin

On Tue, 2011-07-12 at 13:23 -0400, Phil Bouchard wrote:
> On 7/12/2011 2:43 AM, Yaakov (Cygwin/X) wrote:
> >
> > Why?  A static Qt means no plugins, which is pretty worthless.
> 
> Distributing a standalone executable is much simpler than distributing 
> an archive full of DLLs.

You don't need to distribute the Qt DLLs, just have your users get them
from the distro.

> Plugins are needed only for drivers, fancy fonts, etc. not for a standard application.

False.  While some plugins can be builtin to the libraries, the
following absolutely require plugin support:

- CJK language support,
- QML (QtDeclarative),
- QCA,
- QtDesigner widgets,
- Phonon,
- third-party QStyle engines,
- and last, but not least, KDE.


Yaakov
Cygwin/X



--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-13  2:41     ` Yaakov (Cygwin/X)
@ 2011-07-13  2:54       ` Phil Bouchard
  2011-07-13  5:16         ` Yaakov (Cygwin/X)
  0 siblings, 1 reply; 18+ messages in thread
From: Phil Bouchard @ 2011-07-13  2:54 UTC (permalink / raw)
  To: cygwin

On 7/12/2011 10:41 PM, Yaakov (Cygwin/X) wrote:
>
> You don't need to distribute the Qt DLLs, just have your users get them
> from the distro.

I meant some people would like to distribute an executable to systems 
with no Cygwin or Qt installed.

> False.  While some plugins can be builtin to the libraries, the
> following absolutely require plugin support:
>
> - CJK language support,
> - QML (QtDeclarative),
> - QCA,
> - QtDesigner widgets,
> - Phonon,
> - third-party QStyle engines,
> - and last, but not least, KDE.

What I am trying to say is to include both the DLL and the static 
library in the package, this way we'll be able to use Qt Designer and 
linking the final executable dynamically or statically.

As it is right now I've been rebuilding Qt from source 2 or 3 times 
because the configure script deletes all objects files when it's run and 
each build took 96 minutes.  Not to mention I had the following bugs:
http://bugreports.qt.nokia.com/browse/QTBUG-20342?focusedCommentId=158621#comment-158621


--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-13  2:54       ` Phil Bouchard
@ 2011-07-13  5:16         ` Yaakov (Cygwin/X)
  2011-07-13 14:36           ` Phil Bouchard
  2011-07-13 19:54           ` Phil Bouchard
  0 siblings, 2 replies; 18+ messages in thread
From: Yaakov (Cygwin/X) @ 2011-07-13  5:16 UTC (permalink / raw)
  To: cygwin

On Tue, 2011-07-12 at 22:53 -0400, Phil Bouchard wrote:
> On 7/12/2011 10:41 PM, Yaakov (Cygwin/X) wrote:
> >
> > You don't need to distribute the Qt DLLs, just have your users get them
> > from the distro.
> 
> I meant some people would like to distribute an executable to systems 
> with no Cygwin or Qt installed.
> 
> > False.  While some plugins can be builtin to the libraries, the
> > following absolutely require plugin support:
> >
> > - CJK language support,
> > - QML (QtDeclarative),
> > - QCA,
> > - QtDesigner widgets,
> > - Phonon,
> > - third-party QStyle engines,
> > - and last, but not least, KDE.
> 
> What I am trying to say is to include both the DLL and the static 
> library in the package, this way we'll be able to use Qt Designer and 
> linking the final executable dynamically or statically.

The other major distributions don't do this, and there's a reason why:
a static Qt build is different from a shared one, and you can't install
them both in the same place.

> As it is right now I've been rebuilding Qt from source 2 or 3 times 
> because the configure script deletes all objects files when it's run and 
> each build took 96 minutes.  

The Qt build is very configurable; you may want to consider disabling
whichever components you don't need in order to save time.

> Not to mention I had the following bugs:
> http://bugreports.qt.nokia.com/browse/QTBUG-20342?focusedCommentId=158621#comment-158621

Needless to say, our Qt includes patches which fix all these errors.  I
have yet to push these upstream, so in the meantime, please direct Qt
bug reports to these lists.


Yaakov



--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-13  5:16         ` Yaakov (Cygwin/X)
@ 2011-07-13 14:36           ` Phil Bouchard
  2011-07-13 14:56             ` Phil Bouchard
  2011-07-13 19:54           ` Phil Bouchard
  1 sibling, 1 reply; 18+ messages in thread
From: Phil Bouchard @ 2011-07-13 14:36 UTC (permalink / raw)
  To: cygwin

On 7/13/2011 1:16 AM, Yaakov (Cygwin/X) wrote:
>
> The other major distributions don't do this, and there's a reason why:
> a static Qt build is different from a shared one, and you can't install
> them both in the same place.

Well you just have to rename the static library.

> The Qt build is very configurable; you may want to consider disabling
> whichever components you don't need in order to save time.

I failed to see any "-no-example" option.  The script deletes all object 
files so running the script by trial and error is not an option.

> Needless to say, our Qt includes patches which fix all these errors.  I
> have yet to push these upstream, so in the meantime, please direct Qt
> bug reports to these lists.

I'm hoping I do not have any more bug to report.


--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-13 14:36           ` Phil Bouchard
@ 2011-07-13 14:56             ` Phil Bouchard
  0 siblings, 0 replies; 18+ messages in thread
From: Phil Bouchard @ 2011-07-13 14:56 UTC (permalink / raw)
  To: cygwin

On 7/13/2011 10:36 AM, Phil Bouchard wrote:
>
> I failed to see any "-no-example" option.

Ok it's: -nomake example


--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-13  5:16         ` Yaakov (Cygwin/X)
  2011-07-13 14:36           ` Phil Bouchard
@ 2011-07-13 19:54           ` Phil Bouchard
  2011-07-13 20:37             ` Phil Bouchard
  1 sibling, 1 reply; 18+ messages in thread
From: Phil Bouchard @ 2011-07-13 19:54 UTC (permalink / raw)
  To: cygwin

On 7/13/2011 1:16 AM, Yaakov (Cygwin/X) wrote:
>
> Needless to say, our Qt includes patches which fix all these errors.  I
> have yet to push these upstream, so in the meantime, please direct Qt
> bug reports to these lists.

As I mentioned here:
http://bugreports.qt.nokia.com/browse/QTBUG-20342?focusedCommentId=158731#comment-158731

There is a lot of missing libraries when compiling an executable. I had 
to add the following in mkspecs/cygwin-g++/qmake.conf:
QMAKE_LIBS_X11 = -lXext -lX11 -lz -lfreetype -lXrender -lfontconfig 
-lICE -lSM

And I had to pass x11 to CONFIG in the project file. Now it works!


--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-13 19:54           ` Phil Bouchard
@ 2011-07-13 20:37             ` Phil Bouchard
  2011-07-13 22:00               ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 18+ messages in thread
From: Phil Bouchard @ 2011-07-13 20:37 UTC (permalink / raw)
  To: cygwin

On 7/13/2011 3:54 PM, Phil Bouchard wrote:
>
> And I had to pass x11 to CONFIG in the project file. Now it works!

Perhaps it is pointless having a static Qt library after all because the 
executable will depend on other libraries that are dynamic:
...
cygICE-6.dll => /usr/bin/cygICE-6.dll (?)
cygSM-6.dll => /usr/bin/cygSM-6.dll (?)
cygX11-6.dll => /usr/bin/cygX11-6.dll (?)
cygXext-6.dll => /usr/bin/cygXext-6.dll (?)
cygXrender-1.dll => /usr/bin/cygXrender-1.dll (?)
cygfontconfig-1.dll => /usr/bin/cygfontconfig-1.dll (?)
cygfreetype-6.dll => /usr/bin/cygfreetype-6.dll (?)
cygwin1.dll => /usr/bin/cygwin1.dll (?)
cygz.dll => /usr/bin/cygz.dll (?)


--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-13 20:37             ` Phil Bouchard
@ 2011-07-13 22:00               ` Larry Hall (Cygwin)
  2011-07-14 12:52                 ` Phil Bouchard
  0 siblings, 1 reply; 18+ messages in thread
From: Larry Hall (Cygwin) @ 2011-07-13 22:00 UTC (permalink / raw)
  To: Cygwin List

On 7/13/2011 4:36 PM, Phil Bouchard wrote:
> On 7/13/2011 3:54 PM, Phil Bouchard wrote:
>>
>> And I had to pass x11 to CONFIG in the project file. Now it works!
>
> Perhaps it is pointless having a static Qt library after all because the
> executable will depend on other libraries that are dynamic:
> ...

True.  If your goal was to get down to 1 executable that contains all
that is necessary to run, then you'll never get there.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-13 22:00               ` Larry Hall (Cygwin)
@ 2011-07-14 12:52                 ` Phil Bouchard
  2011-07-14 14:38                   ` Phil Bouchard
  0 siblings, 1 reply; 18+ messages in thread
From: Phil Bouchard @ 2011-07-14 12:52 UTC (permalink / raw)
  To: cygwin

On 7/13/2011 5:59 PM, Larry Hall (Cygwin) wrote:
>
> True. If your goal was to get down to 1 executable that contains all
> that is necessary to run, then you'll never get there.

That's too bad, I'll try MinGW.


--
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] 18+ messages in thread

* Re: Qt Creator & static libqt-mt.a
  2011-07-14 12:52                 ` Phil Bouchard
@ 2011-07-14 14:38                   ` Phil Bouchard
  0 siblings, 0 replies; 18+ messages in thread
From: Phil Bouchard @ 2011-07-14 14:38 UTC (permalink / raw)
  To: cygwin

On 7/14/2011 8:51 AM, Phil Bouchard wrote:
>
> That's too bad, I'll try MinGW.

I mean, I'll try MSVC.



--
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] 18+ messages in thread

end of thread, other threads:[~2011-07-14 14:38 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-12  0:35 Qt Creator & static libqt-mt.a Phil Bouchard
2011-07-12  1:03 ` Phil Bouchard
2011-07-12  5:53   ` Yaakov (Cygwin/X)
2011-07-12 17:16     ` Phil Bouchard
2011-07-12 17:37       ` Marco atzeri
2011-07-12 18:17         ` Phil Bouchard
2011-07-12  6:43 ` Yaakov (Cygwin/X)
2011-07-12 17:24   ` Phil Bouchard
2011-07-13  2:41     ` Yaakov (Cygwin/X)
2011-07-13  2:54       ` Phil Bouchard
2011-07-13  5:16         ` Yaakov (Cygwin/X)
2011-07-13 14:36           ` Phil Bouchard
2011-07-13 14:56             ` Phil Bouchard
2011-07-13 19:54           ` Phil Bouchard
2011-07-13 20:37             ` Phil Bouchard
2011-07-13 22:00               ` Larry Hall (Cygwin)
2011-07-14 12:52                 ` Phil Bouchard
2011-07-14 14:38                   ` Phil Bouchard

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).