Results 1 to 4 of 4

Thread: about qt4.4 example under windows

  1. #1
    Join Date
    Jul 2008
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default about qt4.4 example under windows

    Dear All:

    I try to compile the example phonon in QT 4.4 under the windows. However, it can not pass the compiler, and its error message is as following:

    g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\musicplayer.exe tmp/obj/debug_shared/main.o tmp/obj/debug_shared/mainwindow.o tmp/obj/debug_shared/moc_mainwindow.o -L"c:\Qt\4.4.1\lib" -L"c:\Qt\4.4.1\lib" -lmingw32 -lqtmaind -lphonond -lQtGuid4 -lQtCored4
    C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\ mingw32\bin\ld.exe: cannot find -lphonond

    collect2: ld returned 1 exit status
    mingw32-make[1]: Leaving directory `C:/Qt/4.4.1/examples/phonon/musicplayer'
    mingw32-make[1]: *** [debug\musicplayer.exe] Error 1
    mingw32-make: *** [debug-all] Error 2
    And some other examples also have the same problems, such as qdbus. Could any one can give me any suggestion to solve the problem, thanks.


    BRS,
    Alban

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: about qt4.4 example under windows

    How did you compile Qt? It looks like you don't have the debugging version of phonon.

  3. #3
    Join Date
    Jul 2008
    Posts
    47
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: about qt4.4 example under windows

    And it seems to be mingw. Phonon (better the DS9 backend) doesn't compille on Win with mingw.

  4. #4
    Join Date
    Jul 2008
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: about qt4.4 example under windows

    Yes, I use mingw.
    And did qdbus also not work under mingw?

    thanks


    BRS,
    Alban

Similar Threads

  1. Qt4.4 on Windows XP Tablet PC edition
    By proto in forum Qt Programming
    Replies: 3
    Last Post: 9th July 2008, 07:30
  2. Qt4.4 binaries for windows
    By mm in forum Installation and Deployment
    Replies: 3
    Last Post: 13th February 2008, 20:55
  3. Windows not appearing in XP.
    By beardybloke in forum Qt Programming
    Replies: 7
    Last Post: 24th October 2007, 17:32
  4. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 01:00
  5. MDI windows without QWorkspace
    By Big Duck in forum Newbie
    Replies: 2
    Last Post: 16th June 2006, 17:15

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.