Thursday, November 20th 2008, 3:43pm UTC

You are not logged in.

  • Login
  • Register

macabre13

Trainee

Posts: 127

Location: Poland/ Wroclaw

Occupation: sw developer

1

Monday, January 21st 2008, 12:03am

reconfiguring qt

Hi, i was reconfiguring my qt sources with

Quoted


configure -debug-and-release -shared -no-fast -exceptions -no-accessibility -stl -plugin-sql-sqlite -plugin-sql-odbc -platform win32-g++ -qt-zlib -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg -dsp -vcproj -incredibuild-xge -qmake -process -rtti -openssl -qdbus -arch windows -qt-style-windows -qt-style-windowsxp -qt-style-windowsvista -qt-style-plastique -qt-style-cleanlooks -qt-style-motif -qt-style-cde


And I've got this output

Quoted


(...) cut
QMAKESPEC...................win32-g++ (commandline)
Architecture................windows
Maketool....................mingw32-make
Debug symbols...............yes
Accessibility support.......no
STL support.................yes
Exception support...........yes
RTTI support................yes
MMX support.................no
3DNOW support...............no
SSE support.................no
SSE2 support................no
OpenGL support..............yes
Direct3D support............no
OpenSSL support.............yes
QDBus support...............yes
Qt3 compatibility...........yes
(...) cut


My question is, how to enable the mmx, 3dnow, sse, sse2, direct3d support and how to use them?
- ebm - noise - industrial -
I always could be wrong.
Lets share knowledge!
  • Go to the top of the page

stinos

Intermediate

2

Monday, January 21st 2008, 8:52am

not sure, but I think configure figures these out depending on the hardware you have? so if your cpu supports it it will be enabled.
madinsjamania
  • Go to the top of the page

macabre13

Trainee

Posts: 127

Location: Poland/ Wroclaw

Occupation: sw developer

3

Monday, January 21st 2008, 9:05am

So my AMD Turion™ 64 (2x1.6Ghz) does not support MMX ?

I don't believe it! That must be something else.
- ebm - noise - industrial -
I always could be wrong.
Lets share knowledge!
  • Go to the top of the page

CrackedMind

Beginner

Posts: 34

Location: Russia

Occupation: just programmer

4

Monday, January 21st 2008, 9:12am

if found this piece of code in C:\Qt\4.3.3\tools\configure\configureapp.cpp

Source code

1
2
3
4
5
6
else if (part == "SSE2")
        available = (dictionary.value("QMAKESPEC") != "win32-msvc") && (dictionary.value("QMAKESPEC") != "win32-g++");
    else if (part == "3DNOW" )
        available = (dictionary.value("QMAKESPEC") != "win32-msvc") && (dictionary.value("QMAKESPEC") != "win32-icc") && findFile("mm3dnow.h") && (dictionary.value("QMAKESPEC") != "win32-g++");
    else if (part == "MMX" || part == "SSE")
        available = (dictionary.value("QMAKESPEC") != "win32-msvc") && (dictionary.value("QMAKESPEC") != "win32-g++");


if set QMAKESPEC to win32-msvc2005 all these features will enable.
So you can code punk?

This post has been edited 1 times, last edit by "CrackedMind" (Jan 21st 2008, 9:13am)

  • Go to the top of the page

macabre13

Trainee

Posts: 127

Location: Poland/ Wroclaw

Occupation: sw developer

5

Monday, January 21st 2008, 10:51am

Great, thanks!
- ebm - noise - industrial -
I always could be wrong.
Lets share knowledge!
  • Go to the top of the page

Rate this thread