Sunday, July 6th 2008, 7:01pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, March 27th 2008, 2:25pm

Qt4.4 and phonon issue

Hello,

I would like to try out the new multimedia addition to Qt - the phonon library but apparently it is not compiled on default and I couldn't find a way to compile it.
I try reconfiguring and recompiling my libraries with different options but I didn't succeed to have any phonon related lib in my Lib directory.
I even tried to create my own phonon project in the source directory.

However, I still miss this phonond.lib when I try to compile the phonon examples given in the package.
What shall i do so I get those lib(s) compiled? And in general, how do I compile any additional library that hasn't been included in the initial configuration?

I have the open source edition of Qt 4.4 which I use with Visual Studio 2005 . I have Windows SDK and DirectX SDK installed.

Thank you in advance.

Cheers,
Tsveti
  • Go to the top of the page

Posts: 59

Location: Belarus/Germany

Occupation: Progr

2

Thursday, April 17th 2008, 11:06am

Hi! I'm trying to compile QT 4.5.0 with phonon on WinXP sp2 corp + VS2005 + DircetX SDK (march 2008). All enveronement set correctly.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
Environment:
    INCLUDE=
      C:\Programme\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE
      C:\Programme\Microsoft DirectX SDK (March 2008)\Include
      C:\Programme\Microsoft Visual Studio 8\VC\INCLUDE
      C:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\include
      C:\Programme\Microsoft Visual Studio 8\SDK\v2.0\include

    LIB=
      C:\Programme\Microsoft Visual Studio 8\VC\ATLMFC\LIB
      C:\Programme\Microsoft DirectX SDK (March 2008)\Lib\x86
      C:\Programme\Microsoft DirectX SDK (March 2008)\Lib
      C:\Programme\Microsoft Visual Studio 8\VC\LIB
      C:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\lib
      C:\Programme\Microsoft Visual Studio 8\SDK\v2.0\lib

    PATH=
      C:\Programme\Microsoft Visual Studio 8\Common7\IDE
      C:\Programme\Microsoft DirectX SDK (March 2008)\Utilities\Bin\x86
      C:\Programme\Microsoft DirectX SDK (March 2008)\Utilities\Bin
      C:\Programme\Microsoft DirectX SDK (March 2008)\Utilities\Bin
      C:\Programme\Microsoft Visual Studio 8\VC\BIN
      C:\Programme\Microsoft Visual Studio 8\Common7\Tools
      C:\Programme\Microsoft Visual Studio 8\Common7\Tools\bin
      C:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\bin
      C:\Programme\Microsoft Visual Studio 8\SDK\v2.0\bin
      C:\WINXP\Microsoft.NET\Framework\v2.0.50727
      C:\Programme\Microsoft Visual Studio 8\VC\VCPackages
      c:\MinGW\bin
      C:\WINXP\system32
      C:\WINXP
      C:\WINXP\System32\Wbem
      c:\Programme\Microsoft SQL Server\90\Tools\binn\
      z:\Qt\4.4.0_shared\bin\
      c:\Qt\4.3.3\bin
      c:\NASM
      z:\Qt\4.5.0_sp\bin
Licensee....................Snapshot
License ID..................
Product license.............Snapshot Edition
Expiry Date.................

Configuration:
    dist-config
    large-config
    medium-config
    minimal-config
    small-config
    full-config
    build_all
    debug
Qt Configuration:
    release
    debug
    zlib
    png
    accessibility
    qt3support
    opengl
    direct3d
    ipv6
    xmlpatterns
    phonon
    webkit
    svg
    minimal-config
    small-config
    medium-config
    large-config
    full-config

QMAKESPEC...................win32-msvc2005 (commandline)
Architecture................windows
Maketool....................nmake
Debug symbols...............yes
Accessibility support.......yes
STL support.................yes
Exception support...........yes
RTTI support................yes
MMX support.................yes
3DNOW support...............yes
SSE support.................yes
SSE2 support................yes
IWMMXT support..............no
OpenGL support..............yes
Direct3D support............yes
OpenSSL support.............no
QtDBus support..............no
QtXmlPatterns support.......yes
Phonon support..............yes
WebKit support..............yes
Qt3 compatibility...........yes

Third Party Libraries:
    ZLIB support............qt
    GIF support.............plugin
    TIFF support............plugin
    JPEG support............plugin
    PNG support.............qt
    MNG support.............plugin

Styles:
    Windows.................yes
    Windows XP..............yes
    Windows Vista...........yes
    Plastique...............yes
    Cleanlooks..............yes
    Motif...................yes
    CDE.....................yes
    Windows CE..............no
    Windows Mobile..........no

Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................plugin (qt)
    SQLite2.................no
    InterBase...............no

Sources are in..............Z:\Qt\4.5.0_sp
Build is done in............Z:\Qt\4.5.0_sp
Install prefix..............Z:\Qt\4.5.0_sp
Headers installed to........Z:\Qt\4.5.0_sp\include
Libraries installed to......Z:\Qt\4.5.0_sp\lib
Plugins installed to........Z:\Qt\4.5.0_sp\plugins
Binaries installed to.......Z:\Qt\4.5.0_sp\bin
Docs installed to...........Z:\Qt\4.5.0_sp\doc
Data installed to...........Z:\Qt\4.5.0_sp
Translations installed to...Z:\Qt\4.5.0_sp\translations
Examples installed to.......Z:\Qt\4.5.0_sp\examples
Demos installed to..........Z:\Qt\4.5.0_sp\demos

Creating qmake...

Microsoft (R) Program Maintenance Utility, Version 8.00.50727.42
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.


But I always get error what the compiler can't find dshow.h file.
In Dircet3D SDK include folder where is no dshow.h file.... I have find dshow.h in MinGW directory... but this one haven't help.

Have someone allready compiled QT with phonon under Windows?
If yes{ What Version of d3d SDK have you use? VS version? any advanced steps? }

Thanks!

This post has been edited 1 times, last edit by "AcerExtensa" (Apr 17th 2008, 11:07am)

  • Go to the top of the page

SaMe

Beginner

Posts: 1

Location: Hasselt, Belgium

Occupation: PhD Student

3

Tuesday, April 22nd 2008, 10:15am

DirectShow has been removed out of DirectX SDK a long time ago. For now, it is embedded in the 'Windows Platform SDK'

if you have win xp;
http://www.microsoft.com/downloads/detai…&displaylang=en

for vista; download the newer 'Windows SDK'

kind regards,
SaMe

This post has been edited 1 times, last edit by "SaMe" (Apr 22nd 2008, 10:17am)

  • Go to the top of the page

Rate this thread