1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/longzhiyan-phpsciter

Клонировать/Скачать
Внести вклад в разработку кода
Синхронизировать код
Отмена
Подсказка: Поскольку Git не поддерживает пустые директории, создание директории приведёт к созданию пустого файла .keep.
Loading...
README-EN.md

English | 中文

About PHPSciter

PHPSciter is a PHP extension to bind the Sciter framework which is a cross platform GUI framework.

Install Sciter

Download the [sciter-sdk][]

  1. Put Sciter's dynamic library directly into the same location as the PHP executable files.

  2. Extract the sciter runtime library from [sciter-sdk][] to system PATH

    The runtime libraries lives in bin bin.gtk bin.osx with suffix like dll so or dylib

    • Windows: simply copying bin\64\sciter.dll to c:\windows\system32 is just enough
    • Linux:
      • cd lib/sciter/linux
      • tar zxvf libsciter-gtk-lnx.tar.gz
      • echo $PWD >> libsciter.conf
      • sudo cp libsciter.conf /etc/ld.so.conf.d/
      • sudo ldconfig
      • ldconfig -p | grep sciter should print libsciter-gtk-64.so location
    • OSX:
      • cd lib/sciter/mac
      • export DYLD_LIBRARY_PATH=$PWD

Windows

  • Please put "phpsciter.dll" to php.exe/extension folder

Ubuntu 16.04

apt-get install build-essential pkg-config
apt install libgtk-3-dev

git clone https://github.com/longyan/phpsciter.git
cd phpsciter
phpize
./configure
make
make install

php examples/phpsciter-load-frame/index.phpt

Mac OS

git clone https://github.com/longyan/phpsciter.git
cd phpsciter
phpize
./configure
make
make install

php examples/phpsciter-load-frame/index.phpt

Notice!

  • If you used "make clean function", you have to do configuration again.

Debug

  • 如何进行Sciter软件方面的调试?

  • 需要将sciter-sdk下面的inspector 拷贝到 与php.exe 同级目录下,点击Dom inspector

Комментарии ( 0 )

Вы можете оставить комментарий после Вход в систему

Введение

PHPSciter — это расширение PHP, связанное с библиотекой Sciter. С помощью этого расширения программисты на PHP могут разрабатывать кроссплатформенные настольные приложения. Развернуть Свернуть
Apache-2.0
Отмена

Обновления

Пока нет обновлений

Участники

все

Недавние действия

Загрузить больше
Больше нет результатов для загрузки
1
https://api.gitlife.ru/oschina-mirror/longzhiyan-phpsciter.git
git@api.gitlife.ru:oschina-mirror/longzhiyan-phpsciter.git
oschina-mirror
longzhiyan-phpsciter
longzhiyan-phpsciter
master