Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error loading statically linked Qt app
Forum Updated to NodeBB v4.3 + New Features

Error loading statically linked Qt app

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nitin777
    wrote on last edited by
    #1

    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.

    nitin

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved