Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Why I can't run qt components on my computer
QtWS25 Last Chance

Why I can't run qt components on my computer

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 2.4k Views
  • 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.
  • B Offline
    B Offline
    brucewuu
    wrote on last edited by
    #1

    hi guys
    I download the source code of qt componennts with desktop version from git , and I build with mingw32-make , and nmake , all succeeded , while when I use qtCreator opened the desktop.qmlproject , when I run the qml examples , it has the following errors
    the first time , error is this
    @
    plugin cannot be loaded for module "E:.study.qt.projects.QML.components.Nokia Qt Components.desktop-components.desktop.examples.components": The plugin 'E:/study/qt/projects/QML/components/Nokia Qt Components/desktop-components/desktop/examples/components/plugin/styleplugin.dll' uses incompatible Qt library. Expected build key "Windows msvc release full-config", got "Windows mingw debug full-config"
    import "components"
    @
    then I think it is because I used mingw32-make , then I open the visual studio 2008 command line , and try to use nmake to build , but the new errors comes
    it is saying :
    fatal error LNK1112:module machine type "X86" conflicts with target machine type "x64"

    I don't know why , and I thought at first , the qt components can be built in several ways , I think all of them should work , why here it only ask to use msvc make to build it , and also it has problems about the target .

    wish all the best to you from
    bruce wuu
    Autodesk China Inc.
    SW Developer
    M&E Product Developerment Group
    Work 137 6411 8921
    bruce.wu@autodesk.com

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2

      They can be built in several ways, but you need to use same version of compiler for Qt and Qt Components.
      Second error is about your system arch. You are using 64-bit machine, but some of your libs were built for 32-bit machine.

      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