Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problem build QML project on WP8 emulator
Forum Updated to NodeBB v4.3 + New Features

Problem build QML project on WP8 emulator

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 2 Posters 2.4k 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
    nikohal
    wrote on 16 Jan 2015, 13:25 last edited by
    #1

    I have tried to build QML project on WP8 emulator. I got error when running qmake to convert Visual Studio project.

    qmake -tp vb myproject.pro "CONFIG+=windeployqt"
    'uuidgen' is not recognized as an internal or external command, operable program or batch file.

    I run this on Windows 8.1 environment and I have installed:
    Qt 5.4 WinRT
    Visual Studio 2013 Pro Update4

    What could be wrong?

    Here is screenshot: !http://qt.hallikainen.cc/errori5.png!

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jseeQt
      wrote on 19 Jan 2015, 15:31 last edited by
      #2

      Hi Niko,

      are you using the "normal" cmd.exe or the VS2013 x86 Native Tools Command Prompt? If you take the VS Command Prompt, you should not see this error....
      Hint: To find the VS Command Prompt, search for "Visual Studio Tools" in the Windows search, this will suggests you a folder with the different command prompts shortcuts...

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nikohal
        wrote on 20 Jan 2015, 14:32 last edited by
        #3

        Now qmake works without errors. However emulators are not visible in visual studio project. WP emulators are visible when build a new project on Visual Studio but not when project is converted from Qt. This seems to be very complicate case. Could someone give step by step instructions? I would appreciate it very much.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jseeQt
          wrote on 20 Jan 2015, 15:26 last edited by
          #4

          You are very close....but one small explanation:
          WP emulators are runnning on x86 platform, the WP devices on ARM platform.
          So you have 2 different versions Qt for Windows Phone (look at the Maintainance Tools of the Online Installer):

          "Windows Phone x86" (Emulators) and "Windows Phone arm" (Device).

          So, if you generate the Visual Studio project with the WP arm qmake, you will just see the "Device" option and vice versa. Just install the Qt for "Windows Phone x86" from the installer and generate the VS project again!

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nikohal
            wrote on 20 Jan 2015, 20:38 last edited by
            #5

            Thanks, Now I have another problem. I get qml error:
            qrc:///main.qml:5 plugin cannot be loaded for module "QtQuick.Layouts": Cannot load library C:/Data/SharedData/PhoneTools/AppxLayouts/0b75cad9-8a7f-4d46-bb76-baddd3752bd7VS.Release_Win32.Niko/QtQuick/Layouts/qquicklayoutsplugin.dll: %1 is not a valid Win32 application.

            1 Reply Last reply
            0
            • N Offline
              N Offline
              nikohal
              wrote on 21 Jan 2015, 14:13 last edited by
              #6

              I run qmake with 32bit and run application in 32bit emulator

              1 Reply Last reply
              0

              1/6

              16 Jan 2015, 13:25

              • Login

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