Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25

Thread: how to corss compile for windows in Linux

  1. #21
    Join Date
    May 2006
    Location
    Pune,India
    Posts
    63
    Thanks
    7
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to corss compile for windows in Linux

    Here is the backtrace.

    =======
    Starting program: D:\Sharique\win\myMplayer0.9/mymplayer.exe

    Program received signal SIGSEGV, Segmentation fault.
    0x77c423e4 in _libkernel32_a_iname ()
    (gdb) backstrace
    Undefined command: "backstrace". Try "help".
    (gdb) backtrace
    #0 0x77c423e4 in _libkernel32_a_iname ()
    #1 0x0022d09c in ?? ()
    #2 0x77c3ffb9 in _libkernel32_a_iname ()
    #3 0x104e41a3 in qt_mt3_dll_iname ()
    #4 0x0040472b in myForm:lay_file(QString) ()
    #5 0x004065c6 in myForm::stop() ()
    #6 0x00402ca5 in myForm::show_playlist() ()
    #7 0x00428c63 in mainForm::qt_invoke(int, QUObject*) (this=0x22fdd0, _id=61,
    _o=0x22f3fc) at .moc/moc_mainform.cpp:147
    #8 0x00426267 in myForm::qt_invoke(int, QUObject*) (this=0x22fdd0, _id=61,
    _o=0x22f3fc) at .moc/moc_myform.cpp:175
    #9 0x100c3bec in qt_mt3_dll_iname ()
    #10 0x100c495f in qt_mt3_dll_iname ()
    #11 0x10595120 in qt_mt3_dll_iname ()
    #12 0x1011643f in qt_mt3_dll_iname ()
    #13 0x1004d381 in qt_mt3_dll_iname ()
    #14 0x1004f39d in qt_mt3_dll_iname ()
    #15 0x100093e7 in qt_mt3_dll_iname ()
    #16 0x1000aa89 in qt_mt3_dll_iname ()
    #17 0x77d48709 in _libkernel32_a_iname ()
    #18 0x77d487eb in _libkernel32_a_iname ()
    #19 0x77d489a5 in _libkernel32_a_iname ()
    #20 0x77d489e8 in _libkernel32_a_iname ()
    #21 0x100169a7 in qt_mt3_dll_iname ()
    #22 0x1006d4f1 in qt_mt3_dll_iname ()
    #23 0x1006d446 in qt_mt3_dll_iname ()
    #24 0x0040137e in main ()
    =========

  2. #22
    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: how to corss compile for windows in Linux

    What does myForm::play_file(QString) do?

  3. #23
    Join Date
    May 2006
    Location
    Pune,India
    Posts
    63
    Thanks
    7
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to corss compile for windows in Linux

    Quote Originally Posted by jacek
    What does myForm:lay_file(QString) do?
    Play the file specied as argument in mplayer in slave mode.
    Last edited by safknw; 12th May 2006 at 21:17.

  4. #24
    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: how to corss compile for windows in Linux

    Quote Originally Posted by safknw
    Play the file specied as argument in mplayer in slave mode.
    It calls some function from Qt which leads to a crash. Do you know which one? If not, compile Qt in debug mode and try again (make sure you have "CONFIG += console" to your .pro file and check whether there are any messages on the console).

  5. #25
    Join Date
    May 2006
    Location
    Australia
    Posts
    53
    Thanks
    11
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to corss compile for windows in Linux

    if it crashes at a point when you are accessing a file, did you make sure to change these filenames to windows format too? or is it a user input/file dialog kinda situation

Similar Threads

  1. qtgui4.dll error in visual c++ 2005
    By Comptrol in forum Installation and Deployment
    Replies: 33
    Last Post: 19th June 2008, 07:18
  2. Access to PostgreSQL DB on a linux server
    By rmagro in forum Qt Programming
    Replies: 28
    Last Post: 13th March 2008, 09:02
  3. Project won't compile under Windows (works under Linux)
    By philski in forum Qt Programming
    Replies: 7
    Last Post: 14th September 2006, 15:29
  4. Replies: 4
    Last Post: 12th January 2006, 04:16

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.