Error loading statically linked Qt app



  • i have a Qt app with libraries linked statically to it.On app loding some GUI components are invisible.

    I had some problems in QtGui lib getting statically linked.i used MSVC 2008 for static compilation.
    I got this error from QtGui project.

    Code:

    @LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
    1>.\tmp\obj\debug_static\jaricom.obj : fatal error LNK1112: module machine type 'ARM' conflicts with target machine type 'X86
    QtGui - 1 error(s), 1 warning(s)'@

    My target machine is WinCE/ARMV4I

    When i specified /MACHINE:THUMB in QtGui project properties->Librarian->Command Line, i got it compiled successfully.but the problem is that in my application am unable to view child widgets in my parent window.I can see the context menus and status bars in my app.,For eg if add a combo box to my project i could see just the out line of the window.

    I think the Qt Gui lib havent linked statically correctly.
    Can anyone pls suggest me an option on how to resolve this.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.