Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.

Pages: [1]
Author Topic: Compile Qt 4.8.0 under Windows7
jiapei100
Newbie
Posts: 9
Post Compile Qt 4.8.0 under Windows7
on: January 2, 2012, 07:09

http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/

C:\Qt\4.8.0>configure -debug-and-release -opensource -platform win32-msvc2010 -qt-freetype -phonon -directwrite -plugin-sql-mysql -I "C:\packages\include"

It seems

-openssl -I "C:\OpenSSL-Win32\include" -L "C:\OpenSSL-Win32\lib" -I "C:\packages\include" -openvg -dbus

shouldn't be enabled because of its instability under Windows.

Make sure "C:\packages\include" contains a file named "unistd.h" as:

/** This file is part of the Mingw32 package.
 *  unistd.h maps     (roughly) to io.h
 */

#ifndef _UNISTD_H
#define _UNISTD_H

#include <io.h>
#include <process.h>

#endif /* _UNISTD_H */

Welcome to Vision Open
http://www.visionopen.com

jiapei100
Newbie
Posts: 9
Post Re: Compile Qt 4.8.0 under Windows7
on: January 3, 2012, 08:51

No, it seems

C:\Qt\4.8.0>configure -debug-and-release -opensource -platform win32-msvc2010 -qt-freetype -phonon -directwrite -plugin-sql-mysql -I "C:\packages\include"

is also wrong. We need to strictly follow
http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/

Welcome to Vision Open
http://www.visionopen.com

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.33.2 ; Page loaded in: 0.06 seconds.

Latest Forum Discussions