All Projects → cretz → qt_cef_poc

cretz / qt_cef_poc

Licence: MIT License
Proof of concept of simple browser w/ CEF and Qt

Programming Languages

go
31211 projects - #10 most used programming language
C++
36643 projects - #6 most used programming language
QMake
1090 projects

Labels

Projects that are alternatives of or similar to qt cef poc

Bas
BrowserAutomationStudio can automate everything that Chrome can.
Stars: ✭ 203 (+680.77%)
Mutual labels:  qt, cef
Qcefwidget
Provide a Qt widget to render and interact with webpage.
Stars: ✭ 115 (+342.31%)
Mutual labels:  qt, cef
Qcefview
A QWidget encapsulating the CEF named QCefView
Stars: ✭ 279 (+973.08%)
Mutual labels:  qt, cef
Pywebview
Build GUI for your Python program with JavaScript, HTML, and CSS
Stars: ✭ 2,649 (+10088.46%)
Mutual labels:  qt, cef
nimCEF
Nim wrapper for the Chromium Embedded Framework
Stars: ✭ 27 (+3.85%)
Mutual labels:  cef
mlapptools
MATLAB class containing methods for programmatic uifigure modification
Stars: ✭ 23 (-11.54%)
Mutual labels:  cef
OldCEF4Delphi
OldCEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi.
Stars: ✭ 55 (+111.54%)
Mutual labels:  cef
cefgo
Go bindings for the Chromium Embedded Framework (CEF)
Stars: ✭ 20 (-23.08%)
Mutual labels:  cef
psimedia
Audio/video RTP abstraction library
Stars: ✭ 19 (-26.92%)
Mutual labels:  qt
NIM PC Demo
云信Windows(PC) C/C++ Demo源码仓库
Stars: ✭ 200 (+669.23%)
Mutual labels:  cef
cefHtmlSnapshot
Command-line utility for Windows take snapshots of HTML pages and save them as images or PDF
Stars: ✭ 23 (-11.54%)
Mutual labels:  cef
nsyslog-parser
Syslog Parser. Accepts RFC 3164 (BSD) and RFC 5424 formats
Stars: ✭ 14 (-46.15%)
Mutual labels:  cef
BlazorCefApp
Build windows desktop GUI app via CEF / WinForms / Blazor server-site
Stars: ✭ 28 (+7.69%)
Mutual labels:  cef
WebKitX
Chromium Embedded Framework (CEF1) ActiveX Wrapper
Stars: ✭ 52 (+100%)
Mutual labels:  cef
qtCustomPlugins
A set of custom widgets to use directly in QtDesigner.
Stars: ✭ 48 (+84.62%)
Mutual labels:  qt
MBPython
MBPython is an open source project founded by lochen to provide Python bindings for the miniblink. python miniblink
Stars: ✭ 45 (+73.08%)
Mutual labels:  cef
boletosimples-docs
Documentação da API do Boleto Simples - Sistema para emissão de boletos com registro
Stars: ✭ 23 (-11.54%)
Mutual labels:  cef
QtCef
A Cef Qt port , inject C++ API to Cef js context using reflection based on Qt's meta object system
Stars: ✭ 76 (+192.31%)
Mutual labels:  cef
Uranium
Fast and versatile implementation of CEF for Unreal Engine
Stars: ✭ 51 (+96.15%)
Mutual labels:  cef
gstcefsrc
A simple gstreamer wrapper around Chromium Embedded Framework
Stars: ✭ 46 (+76.92%)
Mutual labels:  cef

qt_cef_poc

Proof of concept of a very simplistic cross-platform Qt browser using Chromium Embedded Framework.

Building

Windows Prerequisites

Before running the build script on Windows, you must have the prerequisites:

  • Latest Qt (5.x) installed w/ qmake.exe on the PATH
  • Latest CMake installed w/ cmake.exe on the PATH
  • Latest Python (2.x) installed w/ python.exe on the PATH
  • Latest Go installed w/ go.exe on the PATH
  • MSVC 2015 Build Tools installed w/ the following executed to put 64-bit VC compiler on the PATH: "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
  • Latest Windows 64-bit standard dist of CEF extracted w/ CEF_DIR environment variable set to the base CEF extracted dir
  • This repo cloned w/ the shell at the repo root

Linux Prerequisites

Before running the build script on Windows, you must have the prerequisites:

  • Latest Qt (5.x) installed w/ qmake on the PATH
  • Latest CMake installed w/ cmake on the PATH
  • Latest Python (2.x) installed w/ python on the PATH
  • Latest Go installed w/ go on the PATH
  • Latest GCC installed w/ gcc and g++ on the PATH
  • Latest Make installed w/ make on the PATH
  • Latest Linux 64-bit standard dist of CEF extracted w/ CEF_DIR environment variable set to the base CEF extracted dir
  • Latest GTK 2.x installed and on the library path
  • This repo cloned w/ the shell at the repo root

MacOS Prerequisites

(TODO)

Running Build

The application uses the CEF C++ wrapper, which can be built via:

go run build.go build-cef

Now the application can easily be run via:

go run build.go run

That will run the debug version. For the release version, run:

go run build.go run release

Internally, that just builds and runs the exe. To just build, call build instead. To package a deployment artifact from a previously run build, package is used. For example, to package a release deployment artifact from a previously run release build, run:

go run build.go package release

Once complete, the package(s) will in release/package (e.g. qt_cef_poc.zip in Windows)

TODO

  • Fix focus issues between browser and URL bar on all platforms
  • Move everything but the exe to a sub folder for cleaner deployment
    • For CEF, see this post
    • May need to manually LoadLibrary and/or use SetDllDirectory
    • Consider instead cross platform shortcuts at the top level instead
    • Chrome does this, see their deployment dir and then look at their code on how they do it
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].