Re: [SailfishDevel] Debug issue from inside the QtCreator IDE

2014-07-15 Thread Panu Artimo
On 10 July 2014 15:17, Iosif Hamlatzis  wrote:
> So no for me Linux isn't going to be my main OS.


Yes, it's not perfect. I suggested multiboot because I don't have 100%
Linux install either. For certain defined tasks booting into other
environment is a good option.  Also, when you eventually upgrade from
XP to something else you need to learn new a OS in any case.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Debug issue from inside the QtCreator IDE

2014-07-10 Thread Iosif Hamlatzis
Have thought it, either on a different partition or even using a different
disk (I've already done it once for Mac OS X. I bought the OS and created a
Hackintosh on an external USB disk, the cheapest semi-legal method for
developing for the iOS), even considered having a live disk and my source
files and applications on a different disk.

I'll resolve to this solution the moment I can no longer use WinXP. I'll
have to learn the new OS and find and install applications similar to the
ones I now use and have bought.
---
Linux is not panacea.
Unfortunately not all hardware is 100% compatible with Linux. For instance
my USB camera which is skype compatible under Linux the built-in microphone
doesn't work. There are days I work from home so skype is a must for me,
for my day job.

An HP scanner that I have, has buttons that automatically scan and send to
the printer or to a pdf file under Linux don't work and even my USB printer
doesn't work 100%. The auto feeder doesn't work under Linux or Mac OS X, if
I want to print on both sides, I have το send first the odd pages, then
manually turn them over and then send the even numbered pages.
---
So no for me Linux isn't going to be my main OS.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Debug issue from inside the QtCreator IDE

2014-07-10 Thread tuntematon


Iosif Hamlatzis kirjoitti Thu Jul 10 2014 09:03:33 GMT+0300 (EEST):

> Let's see: Win7 home: 90euro, Win8: 90euro, a new PC running either of
> these >500euro. BlackBerry Q10: 330euro, Z10: 215euro, Z30: 450euro,

Did I miss something, but why don't you (dual) boot to Linux? Free and no new 
pc needed.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Debug issue from inside the QtCreator IDE

2014-07-09 Thread Dmitriy Purgin
Iosif,

although you have clearly stated not to advice to move to Linux, this
is the first thing that comes to my mind when talking about developing
with limited resources. Any modern Linux distribution consumes hardly
as much resources as good old Windows XP and is fully supported by
SailfishOS and Android SDK. Moreover, you can't develop iOS
application legally without owing a copy of MacOS (I can be wrong).

A little of the topic, FYI Microsoft has ended its support for Windows
XP for Embedded Systems in April, that is the version that runs on
ATMs, at least NCR ATMs. This version differs from Windows XP
Embedded. All new NCR ATMs produced in the last few months are already
equipped with Windows 7. Afaik if you continue to run Windows XP FES
on your ATM you automatically fail PCI DSS certification, unless you
have supplementary software products like SolidCore.

Cheers
Dmitriy Purgin

2014-07-10 12:03 GMT+06:00 Iosif Hamlatzis :
> Just to clarify things and close the matter there.
>
> In my day job I work for a small family owned company, so I know what it
> means to work with limited resources and tight budget.
>
> The only way I see developers (especially independent or hobbies) having the
> latest versions is if they don't buy them and download them illegally from
> torrents add to the cost the different devices you want to support the cost
> hits the ceiling.
>
> Let's see: Win7 home: 90euro, Win8: 90euro, a new PC running either of these
>>500euro. BlackBerry Q10: 330euro, Z10: 215euro, Z30: 450euro, PlayBook:
> 240euro (a year a go when I bought it 500euro), iPad2: 383euro, iPhone4:
> 320euro, Jolla: 350euro
>
> Besides the new PC and the Windows versions which I don't have, it's how
> much I've spend and believe me it's not enough for a game to run on the
> simulator. Recently I received an email that one of my games didn't run on
> the Z10 even though there was no problem with the tablet and the Q10 or even
> on the simulator and another situation that there was a problem under the
> Z30. I had to go and buy these two. Similarly with iPad mini, thankfully I
> borrowed  from a friend.
>
> No the simulator is not enough.
>
> Finally Microsoft has only ended WinXP support for the masses. At work
> because we use dedicated hardware we use WinXP embedded and like banks' ATMs
> we have support from Microsoft not only for our systems, but also we have
> support for our development machines running plain WinXP.
>
>
> Anyway as I said I am only porting the company's games to various mobile
> platforms and not creating dedicated apps/games for each platform, so they
> are fully debugged on the PC and I only have to consider differences for the
> various platforms. So far I've managed to keep the games source compatible
> with the differences of each platform separated inside #ifdef/#endif blocks.
>
> Thank you and I won't bother you with this again. Have a good day
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Debug issue from inside the QtCreator IDE

2014-07-09 Thread Iosif Hamlatzis
Just to clarify things and close the matter there.

In my day job I work for a small family owned company, so I know what it
means to work with limited resources and tight budget.

The only way I see developers (especially independent or hobbies) having
the latest versions is if they don't buy them and download them illegally
from torrents add to the cost the different devices you want to support the
cost hits the ceiling.

Let's see: Win7 home: 90euro, Win8: 90euro, a new PC running either of
these >500euro. BlackBerry Q10: 330euro, Z10: 215euro, Z30: 450euro,
PlayBook: 240euro (a year a go when I bought it 500euro), iPad2: 383euro,
iPhone4: 320euro, Jolla: 350euro

Besides the new PC and the Windows versions which I don't have, it's how
much I've spend and believe me it's not enough for a game to run on the
simulator. Recently I received an email that one of my games didn't run on
the Z10 even though there was no problem with the tablet and the Q10 or
even on the simulator and another situation that there was a problem under
the Z30. I had to go and buy these two. Similarly with iPad mini,
thankfully I borrowed  from a friend.

No the simulator is not enough.

Finally Microsoft has only ended WinXP support for the masses. At work
because we use dedicated hardware we use WinXP embedded and like banks'
ATMs we have support from Microsoft not only for our systems, but also we
have support for our development machines running plain WinXP.


Anyway as I said I am only porting the company's games to various mobile
platforms and not creating dedicated apps/games for each platform, so they
are fully debugged on the PC and I only have to consider differences for
the various platforms. So far I've managed to keep the games source
compatible with the differences of each platform separated inside
#ifdef/#endif blocks.

Thank you and I won't bother you with this again. Have a good day
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Debug issue from inside the QtCreator IDE

2014-07-09 Thread Alejandro Exojo
El Wednesday 09 July 2014, Iosif Hamlatzis escribió:
> I had seen the supported environments but as I cannot afford to buy a new
> PC just to run Windows 7 just to be able to develop for SailfishOS a mobile
> environment with no market share I just ignored it. There are no words to
> express my disappointment though.

I understand your situation. I've been a Linux user since too long to rember, 
and it's not comfortable when your OS or software stack is not properly 
working well with others.

I hope you understand too, thath for any company without a huge amount of 
resources, adding support for Windows XP right now, unless is easy, is an 
ineffective use of resources. Its market share isn't insignificant, but is 
lower 
amongst developers (who tend to like having latest versions of applications), 
and is not even officially supported in the standard way by Microsoft.

> In my current setup I easily develop and debug on both emulator and device
> for webOS (native c/c++), BadaOS and TizenOS, BlackBerry (both PlayBook and
> BB10).

Some of them probably started a bit before, and had to consider XP more 
seriously because at that time the support and the market share was good. But 
yeah, it's quite disturbing seeing others having the level of support you 
need.

-- 
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Debug issue from inside the QtCreator IDE

2014-07-09 Thread Iosif Hamlatzis
Thank you very much for the reply.

I had seen the supported environments but as I cannot afford to buy a new
PC just to run Windows 7 just to be able to develop for SailfishOS a mobile
environment with no market share I just ignored it. There are no words to
express my disappointment though.

In my current setup I easily develop and debug on both emulator and device
for webOS (native c/c++), BadaOS and TizenOS, BlackBerry (both PlayBook and
BB10). I even managed to install on my HP TouchPad tablet running webOS a
second partition and installed CyanogenMod 9 Android which isn't officially
supported but I can debug on the device with no problem.

For now I'll keep debugging on either the emulator or the device using
files, besides I am just porting my games from the pre-mentioned  platforms
so my games are fully debugged and just have to make them compatible with
SailfishOS. Since the store doesn't accept SDL applications and also there
are no paid applications yet I think I have plenty of time to port them.

iosif

http://7cecdab4.blogspot.gr/
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Debug issue from inside the QtCreator IDE

2014-07-09 Thread Giuliettasw
Yes, on win7 professional for me on emulator it works okeysh,
As in it is possible to debug, but stopping has issues.

tortoisedoc

Von meinem iPad gesendet

> Am 9.7.2014 um 16.15 schrieb Iosif Hamlatzis :
> 
> https://www.dropbox.com/s/t6wsbj6sohyq8wd/debug.png
> 
> 
> 
> My system is WindowsXP SP3 and I am using the QtCreator IDE to deploy my game 
> and hopefully debug it.
> 
> As you can see from the screenshot (above link) the build and deploy process 
> succeeds (both for the emulator and the actual device). 
> 
> The problem is I cannot debug my code from inside the IDE either inside the 
> emulator or the actual device. When I select to debug the IDE starts building 
> the game, then it deploys it and then a pop-up dialogue appears requesting an 
> executable (executable files for Windows are .exe - .com - .cmd - .vbs - 
> .bat). BUT the build process doesn't produce any executable file.
> 
> Has anyone managed under Windows (any version) to debug on the emulator or 
> device his/her app from inside the IDE?
> 
> Any advice?
> 
> thanks
> 
> 
> PS
> Please don't say move to Linux or Mac OS X, also don't say use command line 
> utilities from inside the built engine using ssh into the image. Since 
> SailfishOS SDK comes with utilities for Windows then every utility (including 
> the provided IDE) should work in full and not partially.
> 
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Debug issue from inside the QtCreator IDE

2014-07-09 Thread Juha Kallioinen

On 09.07.2014 16:15, Iosif Hamlatzis wrote:

https://www.dropbox.com/s/t6wsbj6sohyq8wd/debug.png



My system is WindowsXP SP3 and I am using the QtCreator IDE to deploy 
my game and hopefully debug it.


As you can see from the screenshot (above link) the build and deploy 
process succeeds (both for the emulator and the actual device).


The problem is I cannot debug my code from inside the IDE either 
inside the emulator or the actual device. When I select to debug the 
IDE starts building the game, then it deploys it and then a pop-up 
dialogue appears requesting an executable (executable files for 
Windows are .exe - .com - .cmd - .vbs - .bat). BUT the build process 
doesn't produce any executable file.


Has anyone managed under Windows (any version) to debug on the 
emulator or device his/her app from inside the IDE?


Debugging does not work in Windows XP, but not because of this problem. 
I can try to explain the problem you are seeing below in case you're 
interested. For Windows XP the ultimate problem is that the gdb binaries 
which can be found from the installdir/bin/gdb-*-meego-linux-gnu*.exe 
are incompatible with Windows XP and can not be run. Windows XP is not 
on the list of supported operating systems, which can be seen in [1].


[1] https://sailfishos.org/alpha_qt5_sdk_release_notes.html

I've created a bug about running gdb in Windows XP to our bug tracker, 
but it's not going to get fixed any time soon.


Now to the problem you're experiencing:

I've understood from your earlier posts that you are working on an SDL 
project. This (to me) means that you've had to create a project either 
from scratch or you have heavily modified the default Sailfish template 
project. Without seeing sources, I can only guess what might be the 
cause for this behavior.


That dialog shown in your screenshot is Qt Creator telling you that it 
does not know which binary to run after deployment. The basic 
requirements for Qt Creator to recognize the application binary are:


Project template type is "app" and the executable binary is either the 
same as the project name or specified by the TARGET variable in the .pro 
file.


If your project's TEMPLATE is other than app and/or you haven't 
specified TARGET, then Qt Creator does not know which binary it needs to 
run after it has deployed the project.


If you don't have the TEMPLATE specified, it is by default "app".

In order to debug anything, Qt Creator would need to know which binary 
it needs to debug. So that is the first step. Additionally it needs to 
run the binary on the remote device (or Emulator), so it needs to know 
what the remote binary will be after deployment. When it knows these, it 
would be able to start a debugging session, but on Windows XP it would 
fail at this point when launching gdb.


Best regards,
 Juha

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Debug issue from inside the QtCreator IDE

2014-07-09 Thread Iosif Hamlatzis
https://www.dropbox.com/s/t6wsbj6sohyq8wd/debug.png



My system is WindowsXP SP3 and I am using the QtCreator IDE to deploy my
game and hopefully debug it.

As you can see from the screenshot (above link) the build and deploy
process succeeds (both for the emulator and the actual device).

The problem is I cannot debug my code from inside the IDE either inside the
emulator or the actual device. When I select to debug the IDE starts
building the game, then it deploys it and then a pop-up dialogue appears
requesting an executable (executable files for Windows are .exe - .com -
.cmd - .vbs - .bat). BUT the build process doesn't produce any executable
file.

Has anyone managed under Windows (any version) to debug on the emulator or
device his/her app from inside the IDE?

Any advice?

thanks


PS
Please don't say move to Linux or Mac OS X, also don't say use command line
utilities from inside the built engine using ssh into the image. Since
SailfishOS SDK comes with utilities for Windows then every utility
(including the provided IDE) should work in full and not partially.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org