BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - karaketir16

Pages: [1]
1
Discussion - EVE / Re: EVE Screen Designer to generate source code for Qt
« on: November 08, 2019, 07:23:48 AM »
Hi,

To achive that we need linux hal files for using spi communication and gpio pins. And also create desginer project with appropriate resolution(for NHD_3_5C_FT813 it is QVGA 320x240). It doesn't matter which device selected, but resolution is important.

After you saved a project, Designer generate C code of your project under ProjectFolder/Generated. To use project with Qt create a project with Qt Creator and add `ProjectFolder/Generated` folder and sub directories and  `PathtoEveScreenDesigner/Libraries`  folder and sub directories except `ThirdPartyLib`. And add linux hal files to project. Don't forget to add folders with sub directories to include path.

You need to add some defines your code. To define globally, add them to `.pro` file.

#It depends on which hal file you want to use, I write hal file for this define
DEFINES += Linux_PLATFORM

#These are defines for lcd, different lcd models reuire different defines
DEFINES += DISPLAY_RESOLUTION_QVGA   
DEFINES += EVE_GRAPHICS_AVAILABLE
DEFINES += EVE_DISPLAY_AVAILABLE
DEFINES += FT813_ENABLE

There are lot of lower/upper case issues with file names because Designer is windows program and windows is not case sensitive with file names, however Linux is case sensitive. I have fixed it with, try to compile, get error, fix filename and try again.

An implementation of Linux_Hal and example project can be found here .

Pages: [1]