Skip to content

Instantly share code, notes, and snippets.

@danieloneill
Created November 3, 2018 13:44
Show Gist options
  • Save danieloneill/c34b26c03b6dec614b3d276e2ce54f8f to your computer and use it in GitHub Desktop.
Save danieloneill/c34b26c03b6dec614b3d276e2ce54f8f to your computer and use it in GitHub Desktop.
BUILDING.md

Building

To build TwitchOverlay you will need a Qt development environment.

Components required are:

  • Core
  • Widgets
  • QuickWidgets
  • Websockets
  • WebView

In addition to the QML counterparts to the above Qt components, you will also need the following QML components:

  • GraphicalEffects
  • Layouts
  • Window
  • Controls

If this seems intimidating, don't worry. Most Qt toolchains will include all of the above.

For Windows, however, you will have to specifically install Qt built against MSVC 2017 64-bit, as well as Visual Studio (Community Edition is fine) which has this toolchain. This is because it is the only Qt binary toolchain on Windows with QtWebView which is used for linking your Twitch account.

The buildsystem used is QBS which should also come standard in any normal Qt installation.

To build the project with the Qt Creator IDE, open TwitchOverlay.qbs in Creator and select Build from the menu.

Troubleshooting

If chatter avatars aren't loading and you're seeing SSL errors in your console, it's likely due to missing SSL support (or simply a missing SO or DLL file). On Windows, you will likely need to build OpenSSL and copy the following DLL files to the TwitchOverlay executable directory:

libeay32.dll
ssleay32.dll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment