Along those lines here is what I use to build Qt>
configure -nomake demos -nomake examples -debug-and-release -shared -
fast -exceptions -stl -no-qt3-support
"nmake install" will do NOTHING on Windows. Build Qt where you want it
"installed", ie, build it in place. Install is NOT supported on
windows and neither is moving the installation (without a LOT of
hacking).
So here is a terse setup for building Qt 4.6.2 in Win7 X64 with Visual
Studio in 64 bit mode.
* Install CMake
* Install Visual Studio making sure to install the 64 bit tools
(Express Versions of Visual Studio do NOT support compiling a file
into a 64 bit file).
* Download Qt 4.6.x from Nokia in source form.
* Decompress the Qt download
* Move the Qt project folder to its "Final" installed location
* Reread the last line again.
* Open a Visual Studio x64 Command Prompt
* Reread that last line again.
* Change directories into the qt source folder
* Enter the configuration commands
-- If you want to shorten the build add -no-qtwebkit.
* Let Qt Configure
* Enter "nmake" to finish building Qt. Let that compile for 2 to 6 hours
* Download ParaView source Code
* Using the SAME "Visual Studio x64 Command Prompt" change directories
to the ParaView source directory
* Create a "x64" directory
* cd "x64"
* cmake-gui ../
* Use the CMake-GUI to generate Visual Studio 2008 x64 Solution
* After the ParaView solution is "Generated", open it from Windows
Explorer.
* Build ParaView.
Hope that helps.
___________________________________________________________
Mike Jackson www.bluequartz.net
Principal Software Engineer mike.jack...@bluequartz.net
BlueQuartz Software Dayton, Ohio
On Apr 23, 2010, at 10:13 AM, Eric E. Monson wrote:
Hey Christian,
I recently had to compile PV for Windows7 64-bit, and it didn't end
up being that bad.
I used Qt 4.6.2 open source (everywhere). I ran these commands from
the 64-bit Visual Studio Pro command prompt (I can't remember if I
was running as Administrator) in the Qt source directory:
configure.exe -release -plugin-sql-sqlite
nmake
nmake install
nmake took about 3 hours. (The sqlite plugin was for another project.)
Not sure that the "nmake install" did anything. The last few
messages kept were saying something about not being able to do a
cyclic copy.
You can tell I'm not an expert in this, but I _did_ work just fine.
-Eric
------------------------------------------------------
Eric E Monson
Duke Visualization Technology Group
On Apr 23, 2010, at 9:49 AM, Christian Werner wrote:
Hi!
I am about to install the latest Paraview on a 64-Bit Windows
System. When doing this on a 32-bit Windows I made a bad and
painful experience when trying to setup everything starting with a
self-compiled QT. I finally succeeded when I skipped that QT
compiling part and used a QT binary instead that was compiled for
VisualStudio (this is important). However, you cannot download a
64Bit binary of QT for Windows in general.
I am shivering in fear when thinking about what will happen if I
try to do this QT compiling on the 64-Bit System. I see my self
doing this all over and over without success, as it happened before
on the 32Bit system. So I wanted to be sure if that 64Bit version
of QT is actually needed for 64Bit Paraview. Maybe the binary 32Bit
suffices already?
If not, does anyone have experience in this? I stopped trying after
at least 3 differently parameterized compilations of QT turned out
to not be what Paraview was looking for. If I need to, how would I
compile QT to make it work with Paraview64 for Visual Studio?
Best regards,
Christian
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview