Forums

OverviewV-Play 2 Support (Qt 5) › Windows Phone 8 deployment

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #8250

    Caeser

    I have failed to build my application for Visual Studio.  i manged to setup the emulator as instructed from the videos and docs but every time i use qmake i get

    cannot find file error in the command prompt.

     

    C:\Qt\Examples\Qt-5.3\quick\build-touchinteraction-Qt_5_3_for_Windows_Phone_8_x8
    6_MSVC2012_32bit_Emulator-Release>C:\Qt\5.3\winphone_arm\bin\qmake.exe -tp vc CO
    NFIG+=windeployqt touchinteraction.pro
    Cannot find file: touchinteraction.pro.

    How can i solve this issue?

     

    #8251

    Caeser

    i tried this method of using a path instead of the .pro file name but still does not work

     

    C:\Qt\Examples\Qt-5.3\quick\build-touchinteraction-Qt_5_3_for_Windows_Phone_8_x8
    6_MSVC2012_32bit_Emulator-Debug>C:\Qt\5.3\winphone_arm\bin\qmake.exe -tp vc CONF
    IG+=windeployqt C:\Qt\Examples\Qt-5.3\quick\touchinteraction
    Project MESSAGE: Default fonts will automatically be deployed with your applicat
    ion. To avoid automatic deployment unset the “FONTS” variable (“FONTS =”) in you
    r .pro file. You can also customize which fonts are deployed by setting the “FON
    TS” variable.

     

    #8253

    Christian
    V-Play Team

    Could you please check if you have a VPlay folder here: <Qt-SDK>/5.3/winphone_x86/qml/VPlay ?

    Cheers, Chris

    #8254

    Alex
    V-Play Team

    Also I can see that you are using the qmake of your winphone_arm kit and not the winphone_x86 that is used for the emulator that you built your project with (but I am not sure if that is a problem).

    The Project Message regarding the font is no error, do you also receive the same “Cannot find file: touchinteraction.pro.” error there?

    Your first command only works with V-Play projects, as we copy the *.pro file (and also some more) to the shadow build directory so you don’t have to care about any additional paths or dependencies, all the magic happens in the shadow build directory.

    The second command you posted should be correct as far as i can see it, except for using the wrong qmake.

    Cheers,
    Alex

    • This reply was modified 4 years, 1 month ago by  Alex.
    • This reply was modified 4 years, 1 month ago by  Alex.
    #8257

    Caeser

    Hi Chris, i checked the folder and the V-play folder is not there. would that be causing an issue. how can i add the folder there?

     

     

    #8258

    Caeser

    Hi Alex, i tried the method of replacing the winphone_arm kit with the winphone_x86  and still i get the same error

     

    C:\Projects\build-Windows-Qt_5_3_for_Windows_Phone_8_x86_MSVC2012_32bit_Emulator
    -Debug>C:\Qt\5.3\winphone_x86\bin\qmake.exe -tp vc CONFIG+=windeployqt Windows.p
    ro
    Cannot find file: Windows.pro.

    The Other is

    C:\Projects\build-Windows-Qt_5_3_for_Windows_Phone_8_x86_MSVC2012_32bit_Emulator
    -Debug>C:\Qt\5.3\winphone_x86\bin\qmake.exe -tp vc CONFIG+=windeployqt C:\Projec
    ts\Windows
    Project MESSAGE: Default fonts will automatically be deployed with your applicat
    ion. To avoid automatic deployment unset the “FONTS” variable (“FONTS =”) in you
    r .pro file. You can also customize which fonts are deployed by setting the “FON
    TS” variable.

     

    i tried the second command  but When i check the project folder i cannot see the generated Visual Studio Files.

     

     

     

     

     

     

    #8259

    Alex
    V-Play Team

    Yes, the first command would only work for V-Play games, the normal Qt project does not copy the *.pro file to the Shadow Build folder, thats why you have to add the path to the pro file in the qmake command (like in your second command).

    The Visual Studio Files are generated in the Shadow Build folder, did you possibly check the wrong folder?

    Cheers,
    Alex

    #8260

    Christian
    V-Play Team

    Hi Caesar,

    it seems there is an issue at rolling out the winphone libraries with the Qt Installer. We’ll update that ASAP. Meanwhile, you can download the libraries for Windows Phone ARM, x86 (the simulator) and WinRT here and extract it to your <Qt-SDK>/5.3/ folder.

    Cheers, Chris

    #8261

    Caeser

    Hi Alex, i actually found the Visual Studio Files under that folder. Thanks

     

    This is the folder where i found them

    C:\Qt\Examples\Qt-5.3\quick\build-touchinteraction-Qt_5_3_for_Windows_Phone_8_x86_MSVC2012_32bit_Emulator-Release

     

    Now Alex, Inside Qt what Kit should i use to develop windows phone apps there are 4 locations

    C:\Qt\Examples\Qt-5.3\quick\build-touchinteraction-Qt_5_3_for_Windows_Phone_8_arm_MSVC2012_32bit-Release

    C:\Qt\Examples\Qt-5.3\quick\build-touchinteraction-Qt_5_3_for_Windows_Phone_8_x86_MSVC2012_32bit_Emulator-Release

    C:\Qt\Examples\Qt-5.3\quick\build-touchinteraction-Qt_5_3_for_Windows_Phone_8_x86_MSVC2012_32bit_Emulator-Debug

    C:\Qt\Examples\Qt-5.3\quick\build-touchinteraction-Qt_5_3_for_Windows_Phone_8_arm_MSVC2012_32bit-Debug

    So from those 4, which one should i choose?

     

    Meanwhile

    I managed to get the project to run in the Visual Studio Express 2013 for Windows

    I did the OpenGl shaders thing as well in command prompt. <Path to your Qt installation>\5.3\winphone_arm\bin\qtd3dservice.exe

    and i added the libraries as Chris instructed.

    The result in command prompt was

    C:\>C:\Qt\5.3\winphone_arm\bin\qtd3dservice.exe
    qt.d3dservice: Found app “911d0eda-c395-47ef-ae95-d219660ffe2e_1.0.0.0_x64__3gmp
    kra0z1k96” on device “local”.

     

    Now when it comes to the part in Visual Studio where i Run,  i selected

    Emulator WVGA 512mb Release ARM

    Then when i click the green run icon it shows a Error Prompt saying

    A specified communication resource (*port) is already in use by another application.

    and in Visual Studio Express 2013 for Windows it has two errors

     

    Error 1 Deployment failed because an app with target platform System.Threading.Tasks.Task`1[System.String] cannot be deployed to Emulator WVGA 512MB. If the target platform is win32/ x86, select an emulator. If the target platform is ARM, select Device. 0 0

    Error 2 Deployment of application to device failed.
    0 0

     

    How can i overcome this one?

     

     

     

    #8262

    Caeser

    Hi Alex and Chris. after all the Trys i managed to get the Windows Emulator to work.

    Following from

    http://www.youtube.com/watch?v=1pTeysNkRkk

    All was possible the touch interaction app was running on the emulator. i actually used the Microsoft Visual Express for Windows Phone 8

    Debug Win32

    Now i run a QtQuick HelloWorld Application and it works fine

    But V-play projects got this error

    Unhandled exception at 0x6FA421EA (Qt5Qmld.dll) in V-playSample.exe: 0xC0000005: Access violation reading location 0x00000004.

     

    OThers

     

    ‘V-playSample.exe’ (Win32): Loaded ‘E:\programs\{3EE0499E-48EA-4C50-8D92-9999CD1CAB1E}\Install\V-playSample.exe’. Symbols loaded.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\NTDLL.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\KERNELBASE.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume7\programs\{3EE0499E-48EA-4C50-8D92-9999CD1CAB1E}\Install\Qt5Quickd.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume7\programs\{3EE0499E-48EA-4C50-8D92-9999CD1CAB1E}\Install\Qt5Qmld.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume7\programs\{3EE0499E-48EA-4C50-8D92-9999CD1CAB1E}\Install\Qt5Widgetsd.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume7\programs\{3EE0499E-48EA-4C50-8D92-9999CD1CAB1E}\Install\Qt5Networkd.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume7\programs\{3EE0499E-48EA-4C50-8D92-9999CD1CAB1E}\Install\Qt5Guid.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume7\programs\{3EE0499E-48EA-4C50-8D92-9999CD1CAB1E}\Install\Qt5Cored.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\Msvcp110d.dll’. Symbols loaded.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\Msvcr110d.dll’. Symbols loaded.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\COMBASE.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume7\programs\{3EE0499E-48EA-4C50-8D92-9999CD1CAB1E}\Install\libGLESv2d.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\PhoneAppModelHost.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\KERNEL32LEGACY.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\MSVCRT.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\RPCRT4.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\MINCOREDLOAD.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\D3D11.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\EMClient.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\CoreUI.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\TaskHostSvcs.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\DXGI.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\USER32.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\GDI32.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\OLEAUT32.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\SecRuntime.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\SECHOST.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\orientation.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\ShellChromeAPI.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\ModernApiExtHost.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\CRYPTBASE.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\BCRYPTPRIMITIVES.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\AppModelCore.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\AppChromeAPI.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\PsmApp.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\WINTYPES.DLL’. Cannot find or open the PDB file.
    The thread 0x1640 has exited with code 0 (0x0).
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\CRYPTSP.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\RSAENH.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\wpglobutil.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\ADVAPI32LEGACY.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\wpcoreutil.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\SSPICLI.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\PCWUM.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\AppModelProxy.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\NtUserSynchExtHost.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\Windows.Phone.Devices.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\CFGMGR32.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\Windows.Storage.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\PhotosAPI.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\urlmon.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\dsclient.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\ZTrace.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\ZMediaLib_Client.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\PhotosServiceClient.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\iertutil.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\IE_STUBS.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\ie_shims.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\OLE32_WP.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\phoneinfo.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\SHCORE.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\SHLWAPI.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\LegacyHelper.dll’. Cannot find or open the PDB file.
    io\qfsfileengine_win.cpp:1062: unsigned char *__thiscall QFSFileEnginePrivate::map(__int64,__int64,enum QFileDevice::MemoryMapFlags): Unimplemented code.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume7\programs\{3EE0499E-48EA-4C50-8D92-9999CD1CAB1E}\Install\platforms\qwinrtd.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume7\programs\{3EE0499E-48EA-4C50-8D92-9999CD1CAB1E}\Install\libEGLd.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\Windows.System.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume7\programs\{3EE0499E-48EA-4C50-8D92-9999CD1CAB1E}\Install\d3dcompiler_qtd.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\DXGIDebug.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\D3D10WARP.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\d3d11_1SDKLayers.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\CompClient.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\WINDOWSCODECS.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\THREADPOOLWINRT.DLL’. Cannot find or open the PDB file.
    QThread::start: Failed to set thread priority (not implemented)
    WARNING: VPlayFileUtils: did not find the file or directory: “qml/config.json”
    System: loading config file from: “”
    [WARNING] readFile – No filename specified!
    WARNING: cant find config.json file
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\Windows.Networking.Connectivity.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\WS2_32.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\IPHLPAPI.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\DNSAPI.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\CmNet.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\DpuApi.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\NSI.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\WINNSI.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\CfmClient.dll’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\MSWSOCK.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\FWPUCLNT.DLL’. Cannot find or open the PDB file.
    ‘V-playSample.exe’ (Win32): Unloaded ‘\Device\HarddiskVolume4\Windows\System32\FWPUCLNT.DLL’
    VPlayApplication: importPathList: (“qrc:/qml”, “C:/Data/Programs/{3ee0499e-48ea-4c50-8d92-9999cd1cab1e}/Install”, “C:/Qt/5.3/winphone_x86/qml”, “qrc:/plugins”)
    VPlayApplication: read QQmlEngine::offlineStoragePath(), used for storing SQL databases: “C:\Data\Users\DefApps\AppData\{3EE0499E-48EA-4C50-8D92-9999CD1CAB1E}\Local\QML\OfflineStorage”
    setting extrafileSelectorList to (“sd”) , allFileSelectors: (“sd”, “en_US”, “windows”, “winrt”, “winphone”)
    setting internalContentScaleFactorForImages which is used for MultiResolutionImage contextProperty to 1
    VPlayApplication: setMainQmlFileName called for qmlFileName “qml/Main.qml” , used file: “qml/Main.qml”
    QQmlApplicationEngine failed to load component
    file:///C:/Data/Programs/%7B3EE0499E-48EA-4C50-8D92-9999CD1CAB1E%7D/Install/qml/Main.qml:-1 File not found

    First-chance exception at 0x6FA421EA (Qt5Qmld.dll) in V-playSample.exe: 0xC0000005: Access violation reading location 0x00000004.
    ‘V-playSample.exe’ (Win32): Loaded ‘\Device\HarddiskVolume4\Windows\System32\errorhandlingext.dll’. Cannot find or open the PDB file.
    Unhandled exception at 0x6FA421EA (Qt5Qmld.dll) in V-playSample.exe: 0xC0000005: Access violation reading location 0x00000004.

     

     

    #8263

    Caeser

    This is what i get at first from the Command Prompt

     

    C:\Projects\build-V-playSample-Qt_5_3_for_Windows_Phone_8_x86_MSVC2012_32bit_Emu
    lator-Debug>C:\Qt\5.3\winphone_x86\bin\qmake.exe -tp vc CONFIG+=windeployqt C:\P
    rojects\V-playSample
    Project MESSAGE: Link with V-Play library: VPlay
    Project MESSAGE: MAINPROFILEPWD: C:/Projects/V-playSample
    Project MESSAGE: Now overwriting the DEPLOYMENTFOLDERS to copy the whole project
    directory to build directory – temp fix by V-Play to correctly load assets; dea
    ctivate with CONFIG+=noWinRtDeployment
    Project MESSAGE: original source of deploymentfolder: C:/Projects/V-playSample
    Project MESSAGE: isAbsolutePathWindows: C:/Projects/V-playSample
    Project MESSAGE: Default fonts will automatically be deployed with your applicat
    ion. To avoid automatic deployment unset the “FONTS” variable (“FONTS =”) in you
    r .pro file. You can also customize which fonts are deployed by setting the “FON
    TS” variable.
    Project MESSAGE: Link with V-Play library: VPlay
    Project MESSAGE: MAINPROFILEPWD: C:/Projects/V-playSample
    Project MESSAGE: Now overwriting the DEPLOYMENTFOLDERS to copy the whole project
    directory to build directory – temp fix by V-Play to correctly load assets; dea
    ctivate with CONFIG+=noWinRtDeployment
    Project MESSAGE: original source of deploymentfolder: C:/Projects/V-playSample
    Project MESSAGE: isAbsolutePathWindows: C:/Projects/V-playSample
    Project MESSAGE: Link with V-Play library: VPlayd
    Project MESSAGE: MAINPROFILEPWD: C:/Projects/V-playSample
    Project MESSAGE: Now overwriting the DEPLOYMENTFOLDERS to copy the whole project
    directory to build directory – temp fix by V-Play to correctly load assets; dea
    ctivate with CONFIG+=noWinRtDeployment
    Project MESSAGE: original source of deploymentfolder: C:/Projects/V-playSample
    Project MESSAGE: isAbsolutePathWindows: C:/Projects/V-playSample

    C:\Projects\build-V-playSample-Qt_5_3_for_Windows_Phone_8_x86_MSVC2012_32bit_Emu
    lator-Debug>

    #8264

    Caeser

    Yeah! i got it to work finally. my game ColorDash is now running on Windows 8 emulator. and i am able to see the debug. it scaled well as well.

    Just a few errors like

    C:\Projects\ColorRun\main.cpp:-1: error: C1033: cannot open program database ‘c:\projects\build-colorrun-qt_5_3_for_windows_phone_8_x86_msvc2012_32bit_emulator-debug\debug\colorrun.pdb’

    when i try to run from Qt to deploy to device. which actually should not work because it is not yet supported.

    And i have to rebuild in the command prompt for every change i make. good thing the Windows Visual Studio can tell i have made changes to the file.

     

    Now i cannot seem to know how to build the final file in  Visual Studio to upload to the Market. i have problems with the shaders.qrc following from the youtube video. The V-play tutorial for Windows phone 8 deployment does not show us how to do that step where i can put the shaders.qrc in the project then build the final xap file. Please help me with this one

    #8272

    Alex
    V-Play Team

    Hi Caesar,

    my hints about the path to the *.pro file were really important! This has been the source of your errors all along.

    Qt: switch to shadow build in command line -> qmake.exe with path to pro file from project folder

    V-Play: switch to shadow build in command line -> qmake.exe just with pro file from the current shadow build folder, no path (because we copy the pro file to the shadow build folder and pre-create the structure for deployment of assets and resources!)

     

    “file:///C:/Data/Programs/%7B3EE0499E-48EA-4C50-8D92-9999CD1CAB1E%7D/Install/qml/Main.qml:-1 File not found”
    -> this results out of the fact that you used the pro file from your project folder and not from the shadow build folder, which messes up your dependencies for V-Play projects.

     

    Regarding packaging the precompiled shaders, I will post it in about half hour when i arrive at the office 😉

    Cheers,
    Alex

    • This reply was modified 4 years, 1 month ago by  Alex.
    • This reply was modified 4 years, 1 month ago by  Alex.
    #8275

    Alex
    V-Play Team

    Hi again.

    to publish your app, you need to build it for winphone_arm (not winphone_x86 because that’s only for the emulator) first with the qt creator.

    Then you open the command line and switch to the shadow build folder.

    Then you use the qtd3dservice to generate your shaders with a command similar to this:

    <Path-to-Qt>\5.3\winphone_arm\bin\qtd3dservice.exe –list-binary –qrc –device 0 –app {your-productID} –output shaders.qrc

    -> you can find your productID in the WMAppManifest.xml file in your shadow build folder!

    Next you use qmake to generate your visual studio project like this:

    <Path-to-Qt>\Qt\5.3\winphone_arm\bin\qmake.exe -tp vc CONFIG+=windeployqt RESOURCES+=shaders.qrc YourProject.pro

    After you build your project in visual studio, you will find the finished XAP package in the release folder of your shadow build folder.

    These steps are the same as in this video, just with slightly changed paths due to the fact that we copy the pro file to the shadow build folder, to avoid any dependency problems.

    We will update the Windows Phone Deployment Guide with a publish section soon.

    Cheers,
    Alex

    • This reply was modified 4 years, 1 month ago by  Alex.
    #8279

    Caeser

    Hi Alex when i try to publish by generating the shaders i get the following error

     

    C:\>C:\Qt\5.3\winphone_arm\bin\qtd3dservice.exe -list-binary -qrc -device 0 -app
    {1a80b8b6-def3-4963-9aa6-d3f7634c1788} -output shaders.qrc
    Access is denied.

    C:\>C:\Qt\5.3\winphone_x86\bin\qtd3dservice.exe -list-binary -qrc -device 0 -app
    {1a80b8b6-def3-4963-9aa6-d3f7634c1788} -output shaders.qrc
    Access is denied.

     

    it says the app cannot run on my pc.

     

     

     

     

Viewing 15 posts - 1 through 15 (of 19 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support