[Interest] Testing with Windows Phone, first impressions

Andrew Knight qt at panimo.net
Fri Mar 6 06:42:48 CET 2015


Hi Matthias,

Unfortunately, I only have anecdotal responses for you, but I'm hopeful 
that Qt 5.5 will improve the situation for you.

On 03/05/2015 05:34 PM, Matthias Degenkolb wrote:
> 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 )

This suggests that you aren't running qmake from a Visual Studio command 
prompt. Actually, this is a bug in our qmake rules (we should abort when 
uuidgen is not found), but the solution is to use the correct prompt.

> - 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

These two issues may be related. Maurice has made a lot of 
investigations into this. Some fixes are already in Qt 5.5 and others 
are coming.

> - 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...

Yes, that would be helpful. It seems the network stack has been one of 
the hardest things to get right, so it would be good to see how your 
example differs from e.g. the test case suite.

> Regards,
> Matthias

Cheers,
Andrew

>
>
> 2015-01-05 20:01 GMT+01:00 Matthias Degenkolb
> <matthias.degenkolb at googlemail.com
> <mailto: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
>     <mailto:matthias.degenkolb at googlemail.com>
>     Tel: +4917644427597 <tel:%2B4917644427597>
>
>     2015-01-05 19:33 GMT+01:00 Matthias Degenkolb
>     <matthias.degenkolb at googlemail.com
>     <mailto: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
>         <mailto:matthias.degenkolb at googlemail.com>
>         Tel: +4917644427597 <tel:%2B4917644427597>
>
>         2015-01-05 13:57 GMT+01:00 Kalinowski Maurice
>         <Maurice.Kalinowski at theqtcompany.com
>         <mailto: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
>
>
>
>
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>



More information about the Interest mailing list