Missing what exactly?
I don't remember if the error was related to a missing file or to an unresolved reference during linking, anyway I found that my installation of the QT SDK may have been damaged after all my trials so I'm going to install it again.
Theoretically, using configure with -fast switch and then nmake from inside the src folder has a sense?
I'm starting to think that my only possibilty is to manually edit the Makefile (after configure without -fast) or the projects.pro (before configure) in the %QTDIR%, what do you think about?
It couldn't have been damaged unless you started changing the source code of Qt which I assume you didn't. Don't touch the makefiles. Configure Qt as usual, cd into src and call nmake.
I'm sure everybody understands "minimum build" in his own way. Here is how i do my minimum build (e.g. Qt 4.5.2).
Qt Code:
./configure -prefix /usr/local/qt-4.5.2 -nomake demos -nomake examples -no-qt3support -no-accessibility -no-phonon -no-phonon-backend -no-webkitTo copy to clipboard, switch view to plain text mode
But it may differ from your needs, because i don't know what kind of application you want to develop.
I'm a rebel in the S.D.G.
I'm building in Windows targetting to VS2005, and -prefix is not listed in configure help: what is it for?
Anyway my meaning for "minimum" is the smallest set of files needed to develop an application (with all the possible libraries) using the VS2005 integration.
So I think I would:
- need folders 'include', 'lib', 'plugins' and 'bin'
- not need folders 'src', 'examples', 'tutorials', 'demos'
- don't know about remaining files and folders
Am I correct?
Last edited by lurky; 26th August 2009 at 15:19.
Makefiiles get regenerated when you run configure.
Pure waste of time, especially that the SDK is built for MinGW.But for safety reasons I reinstalled the SDK.
Giving information that you encountered some error isn't really helpful. I could only reply you needed to do something to make them go away.Now, how can I just build WebKit?
It's for installing the binaries outside the source tree. But it's unavailable on Windows.
You need to build the sub-src, sub-tools and possibly the plugins targets then.Anyway my meaning for "minimum" is the smallest set of files needed to develop an application (with all the possible libraries) using the VS2005 integration.
But I need all the SDK to have designer, linguist and other tools. Correct?
You're absolutely right, unfortunately I did not take a note of the exact error but if there's a way to build just WebKit I can make a fast try.
How can I achieve this?
What about my assumption about minimum set of required files/folders?
Thank you for you answers.
Incorrect.
Configure with WebKit, cd into appropriate directory and run nmake. Note that Qt libraries need to be compiled first.You're absolutely right, unfortunately I did not take a note of the exact error but if there's a way to build just WebKit I can make a fast try.
Call nmake with appropriate target names (such as sub-src).How can I achieve this?
What about it?What about my assumption about minimum set of required files/folders?
Update.
Uninstalled the SDK, downloaded the
qt-win-opensource-src-4.5.2.zip
package, made configure and then nmake.
Building was completed with no errors.
Finally I got a fully working installation of QT with VS2005 integration on the machine I used to build...
but
...I then took the whole 'qt' folder to a different machine (let's say %BUILD_PATH% is were libraries were built and %NEW_PATH% is were they are located on the other machine), configured there the %QTDIR% = %NEW_PATH%, added %QTDIR%\bin to the %path%, and I'm able to open/create QT projects with the suitable 'qt designer'; the only problem is that if I try to open the help I got the error
"The binary '%BUILD_PATH%\bin\assistant.exe' does not exist."
How can I fix this?
The question in my previous post would mean: once I got the full built libraries which are the files needed to develop QT applications? (I think I should not need folders 'src', 'examples', 'tutorials', 'demos'.....)
Thanks.
Last edited by lurky; 27th August 2009 at 14:29.
You can't move an existing installation to a different path without recompilation (or patching the binaries).
As far as I know qt.conf doesn't apply to qmake. Or does it?
Update.
Of course I did NOT changed the libraries code but just played with makefiles. But for safety reasons I reinstalled the SDK. Then I started a new building (full, including demos, tutorials, examples) and got an "unresolved reference" while building WebKit. I finally restarted a new building with -WebKit switch and it was successful (or so it looks...).
The final size of the Qt folder is a bit more than 3GB, which is acceptable compared to the 8Gb and more of my first trial.
Now, how can I just build WebKit?
Thanks to all the ones who may help.
Bookmarks