How to build Desktop app in LC?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
YogiYang
Posts: 27
Joined: Thu Oct 09, 2008 6:09 am

How to build Desktop app in LC?

Post by YogiYang » Sat Aug 26, 2017 7:48 am

Hello,

My prime interest in LC is to build cross platform Desktop app and not mobile apps.

I downloaded the Indy version of LC. But I do not see any option to build Desktop apps in LC?

What have I to do to setup LC for building Desktop apps?

TIA

Yogi Yang
--
Yogi Yang

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: How to build Desktop app in LC?

Post by bogs » Sat Aug 26, 2017 12:21 pm

Whether your building desktop or mobile standalone applications, you first need to go to "File / Standalone Application Settings..." after you've saved the project at least one time.
Image
In that dialog you will be able to choose which Os' to compile for, along with the settings for which libraries to use, other files to include, etc.
Image
After you have set your choices, you can compile using "File / Save as Standalone Application..."
Image

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10330
Joined: Wed May 06, 2009 2:28 pm

Re: How to build Desktop app in LC?

Post by dunbarx » Sat Aug 26, 2017 2:50 pm

What Bogs said.

However, are you quite clear about what can be saved in a standAlone? That regardless of platform, the executable can NOT save anything within itself at all?

In other words, tell us that you know what a "splash" stack is. Or that external files might be required.

Craig Newman
Last edited by dunbarx on Sun Aug 27, 2017 4:05 am, edited 1 time in total.

YogiYang
Posts: 27
Joined: Thu Oct 09, 2008 6:09 am

Re: How to build Desktop app in LC?

Post by YogiYang » Sat Aug 26, 2017 4:15 pm

Ok.

When we select File->New Stack the options available are only for small screen devices and not for desktop. So I think we will have to use default size option and then resize the stack as per our needs.

TIA
--
Yogi Yang

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: How to build Desktop app in LC?

Post by bogs » Sat Aug 26, 2017 5:05 pm

Yes, that is exactly right, although I believe that you can resize any stack you choose from the menu, the default stack is just that, a default starting size.
Image

Post Reply