[Interest] Testing with Windows Phone, first impressions

Matthias Degenkolb matthias.degenkolb at googlemail.com
Thu Mar 5 16:34:05 CET 2015


Hi again,

update:
upgraded to Qt 5.4.1 since I had strange TCP/Ip connect issues on Windows
Phone, but now with Qt 5.4.1 situation seems to be pretty unchanged.
- Still having to manually enter UUIDs in appxmanifest and reregister
splash screens when creating vcxprojs (as described in
http://doc-snapshot.qt-project.org/qt5-dev/winrt-support.html )
- my App built and deployed with Qt Creator just doesn't start, blank screen
- my App built with Visual Studio sometimes starts, sometimes hangs
randomly @ startup
- when started up and I try to connect via TCp / IP to a server, I can't
connect (seems like my timeout triggers immediately instead of connecting).
Same code works afaik in iOS, Android and Win32(mingw)

Basically my hope was that we could easily consider Windows Phone as
additional platform for my private as well as company's productive apps
later  because of using cross-platform Qt (so despite the low market shares
of Windows phone it would still be reasonable to support this platform).
However, having to tweak config files manually every time I run qmake and
the test app not even properly connecting via network does not seem like
low effort in the long run...

PS: Yes capabilities are set:
  <Capabilities>
    <Capability Name="internetClientServer" />
    <Capability Name="privateNetworkClientServer" />
  </Capabilities>

If my private time permits I'll try to create a small test project I can
share / attach to a bug report...

Regards,
Matthias


2015-01-05 20:01 GMT+01:00 Matthias Degenkolb <
matthias.degenkolb at googlemail.com>:

> Hi again,
>
> ok: finally I found the issue: In my Package.appxmanifest file there was
> some fields empty.
> Setting UUId to
>   <Identity
>     Name="a0ab7a42-1e3d-43f6-8ead-8b01b88a4e0f"
> [...] and
>   <mp:PhoneIdentity
>     PhoneProductId="a0ab7a42-1e3d-43f6-8ead-8b01b88a4e0f"
>     PhonePublisherId="00000000-0000-0000-0000-000000000000" />
>
> gets the app compiling & starting properly. Maybe a beginner's mistake
> from my side?
>
> However, app is painfully slow at startup and also for seconds no touch is
> reacting. After a while it seems to work.
> Will test more detailed tomorrow as the app requires server connectivity,
> but don't have server with me currently.
>
> Regards,
> Matthias
>
>
> Mit freundlichen Grüßen / With kind regards,
> Matthias Degenkolb
> Welfenstr 8a
> 90475 Nürnberg
> matthias.degenkolb at googlemail.com
> Tel: +4917644427597
>
> 2015-01-05 19:33 GMT+01:00 Matthias Degenkolb <
> matthias.degenkolb at googlemail.com>:
>
>> Hi,
>>
>> Thx for the hint. Meanwhile I advanced a bit. Deleted all vcxprojs and
>> associates, reran qmake -spec winphone-arm-msvc2013 -tp vc
>> CONFIG+=windeployqt .
>> Then (still problem VS refuses to load) I uninstalled VS2013 Express for
>> Windows (I think it was that one as I could build for WinPhone 8.1 before)
>> and installed Visual Studio 2013 Professional and WinPhone SDK. then set
>> PATH variable to include Windows Kit 8.1 SDK\bin folder
>> Then after decreasing error level (not my code, but the stuff I copied
>> from external source for testing) I can compile until final steps. There it
>> complains that GenerateProjectPriFile is missing
>> required ProjectPriIndexName-Parameter...
>>
>> I'll try to advance tomorrow in case my time permits.
>>
>> Regards,
>> Matthias
>>
>>
>> Mit freundlichen Grüßen / With kind regards,
>> Matthias Degenkolb
>> Am Feuchter Brücklein 24
>> 90475 Nürnberg
>> matthias.degenkolb at googlemail.com
>> Tel: +4917644427597
>>
>> 2015-01-05 13:57 GMT+01:00 Kalinowski Maurice <
>> Maurice.Kalinowski at theqtcompany.com>:
>>
>>> Hi,
>>>
>>>
>>> > - I cannot debug. From some postings I saw that you have to convert
>>> the .pro to Visual Studio project (for debugging?),
>>> > however Visual Studio Express always says it cannot open the created
>>> .vcxproj file (something like "this edition does not
>>> > support native projects" --> but I can use C++-based Windows Phone
>>> projects without issues ...).
>>>
>>> That is VS2013 Express for Windows? Not VS2013 Express for Desktop?
>>>
>>> And you used "qmake -tp vc CONFIG+=windeployqt"? Or any other additional
>>> arguments?
>>>
>>> Maurice
>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150305/f41b6de9/attachment.html>


More information about the Interest mailing list