[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Any hints on how to debug on MXE?
From: |
Nagaev Boris |
Subject: |
Re: [Mingw-cross-env-list] Any hints on how to debug on MXE? |
Date: |
Sun, 15 Feb 2015 21:40:51 +0000 |
On Sun, Feb 15, 2015 at 9:21 PM, Nikos Chantziaras <address@hidden> wrote:
> On 15/02/15 23:04, Nikos Chantziaras wrote:
>>
>> On 15/02/15 22:50, Nikos Chantziaras wrote:
>>>
>>> I built gdb that comes with MXE, but it doesn't seem to work
>>> for anything (it just hangs when typing in commands.)
>>
>>
>> OK, never mind. gdb works fine on real Windows. It's wine that can't run
>> it (probably debugger inception.)
>>
>> Judging from the backtrace I got:
>>
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00f23a7d in QTextCodec::toUnicode (this=0x0, in=0x13ac385 <pbuffer+5>
>> "\036", length=1, state=0x0)
>> at
>>
>> ../../opt/mxe-git/usr/i686-w64-mingw32.static/qt5/include/QtCore/qtextcodec.h:103
>>
>>
>> It seems that I'm not specifying my static text codec plugins correctly.
>
>
> And it seems that's not even possible? From:
>
> http://doc-snapshot.qt-project.org/qt5-5.4/windows-deployment.html
>
> "Since we cannot deploy plugins using the static linking approach, the
> application we have prepared is incomplete. It will run, but the
> functionality will be disabled due to the missing plugins. To deploy
> plugin-based applications we should use the shared library approach."
>
> So is this a no-go with MXE?
>
>
Qt's to- and from-unicode codecs work in MXE, at least in master
branch with Qt 4.
Try the following:
1. Use stable branch of MXE instead of master branch of MXE
2. Use Qt 4 instead of Qt 5
3. Use shared libraries instead of static. See configuration variable
MXE_TARGETS.
Best regards,
Boris Nagaev
- [Mingw-cross-env-list] Any hints on how to debug on MXE?, Nikos Chantziaras, 2015/02/15
- Re: [Mingw-cross-env-list] Any hints on how to debug on MXE?, Nikos Chantziaras, 2015/02/15
- Re: [Mingw-cross-env-list] Any hints on how to debug on MXE?, Nikos Chantziaras, 2015/02/15
- Re: [Mingw-cross-env-list] Any hints on how to debug on MXE?,
Nagaev Boris <=
- Re: [Mingw-cross-env-list] Any hints on how to debug on MXE?, Nikos Chantziaras, 2015/02/15
- Re: [Mingw-cross-env-list] Any hints on how to debug on MXE?, Nagaev Boris, 2015/02/15
- Re: [Mingw-cross-env-list] Any hints on how to debug on MXE?, Timothy Gu, 2015/02/16
- Re: [Mingw-cross-env-list] Any hints on how to debug on MXE?, Timothy Gu, 2015/02/16
- Re: [Mingw-cross-env-list] Any hints on how to debug on MXE?, Nikos Chantziaras, 2015/02/16
- Re: [Mingw-cross-env-list] Any hints on how to debug on MXE?, Nikos Chantziaras, 2015/02/16
- Re: [Mingw-cross-env-list] Any hints on how to debug on MXE?, N. N., 2015/02/15