Results 1 to 11 of 11

Thread: Qt 4.4.0 compile error

  1. #1
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Qt 4.4.0 compile error

    Hi to all again! I am trying to recompile qt 4.4.0 with:
    Qt Code:
    1. configure -webkit -phonon -arch windows -static -debug-and-release
    2. mingw32-make
    To copy to clipboard, switch view to plain text mode 
    and now I get errors which are shown in attached file. Can someone help me please? I am trying to get phonon support.
    Attached Files Attached Files
    Qt 5.3 Opensource & Creator 3.1.2

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Qt 4.4.0 compile error

    dshow.h: No such file or directory
    Looks like you don't have the necessary DirectShow/DirectX SDK installed.
    J-P Nurmi

  3. #3
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt 4.4.0 compile error

    AAA, I understood that it is not mandatory to have it.
    Qt 5.3 Opensource & Creator 3.1.2

  4. #4
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt 4.4.0 compile error

    I've installed it, how do i tell now qt 4.4.0 installation where are these files?
    Qt 5.3 Opensource & Creator 3.1.2

  5. #5
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.4.0 compile error

    Quote Originally Posted by jpn View Post
    Looks like you don't have the necessary DirectShow/DirectX SDK installed.
    It's MinGW - there's no DirectX-SDK. They're shipped with MinGW's w32api package which is installed by default (but maybe not the latest version, currently it's 3.11)

  6. #6
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt 4.4.0 compile error

    Well, I've ugpraded mingw to latest version - same error shown.
    Qt 5.3 Opensource & Creator 3.1.2

  7. #7
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.4.0 compile error

    As I said before - dshow.h is part of mingw. It's in MinGW\include . If it isn't there, you're MinGW installation is either broken or to old. Try to update to latest w32api !!

  8. #8
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt 4.4.0 compile error

    I've done everything you asked in your latest post, I still get error ...
    Qt 5.3 Opensource & Creator 3.1.2

  9. #9
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.4.0 compile error

    Why won't you understand???
    Is dshow.h in MinGW\include
    -> NO -> your MinGW installation is broken
    -> YES -> you don't use the gcc from the MinGW installation but another one

  10. #10
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt 4.4.0 compile error

    ok ok, sorry man for misunderstanding, it's morning.

    Ok:

    • I have dshow.h in include dir
    • the only compiler installed on this comp is the one in mingw directory

    Do I need to specify additional include directories while running configure or mingw32-make?
    Qt 5.3 Opensource & Creator 3.1.2

  11. #11
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.4.0 compile error

    Normally you don't have to do this - MinGW finds it's own headers alone. But in this case it's worth a try. Also try a small test application (only a simple main function) where you include <dshow.h> and see if it compiles on commandline.

Similar Threads

  1. QPSQL driver in windows
    By brevleq in forum Installation and Deployment
    Replies: 31
    Last Post: 14th December 2007, 12:57
  2. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 02:49
  3. Qtopia core 4.2.2 cross compile make error
    By smiyai18 in forum Installation and Deployment
    Replies: 2
    Last Post: 28th August 2007, 17:04
  4. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 12:19
  5. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.