Qt Creator & static libqt-mt.a
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
Re: Qt Creator & static libqt-mt.a
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
Qt4 build error
I am trying to build Qt4 from source and I get the following error: Creating qmake. Please wait... g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/usr/src/qt-x11-opensource-src-4.5.3/include -I/usr/src/qt-x11-opensource-src-4.5.3/include/QtCore -I/usr/src/qt-x11-opensource-src-4.5.3/src/corelib/global -I/usr/src/qt-x11-opensource-src-4.5.3/src/script -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/src/qt-x11-opensource-src-4.5.3/mkspecs/cygwin-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp process_begin: CreateProcess((null), g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/usr/src/qt-x11-opensource-src-4.5.3/include -I/usr/src/qt-x11-opensource-src-4.5.3/include/QtCore -I/usr/src/qt-x11-opensource-src-4.5.3/src/corelib/global -I/usr/src/qt-x11-opensource-src-4.5.3/src/script -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/src/qt-x11-opensource-src-4.5.3/mkspecs/cygwin-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp, ...) failed. make (e=2): The system cannot find the file specified. Any ideas? -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
Re: Qt4 build error
On 7/11/2011 9:33 PM, Phil Bouchard wrote: I am trying to build Qt4 from source and I get the following error: make (e=2): The system cannot find the file specified. Ok nevermind, it somehow found gmake in my path and got all confused. -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
Re: Qt Creator & static libqt-mt.a
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
Re: Qt Creator & static libqt-mt.a
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
Re: Qt Creator & static libqt-mt.a
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
Re: Qt Creator & static libqt-mt.a
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
Re: Qt Creator & static libqt-mt.a
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
Re: Qt Creator & static libqt-mt.a
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
Re: Qt Creator & static libqt-mt.a
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
Re: Qt Creator & static libqt-mt.a
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
Re: Qt Creator & static libqt-mt.a
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
Re: Qt Creator & static libqt-mt.a
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