Git Product home page Git Product logo

toggldesktop's Introduction

Build Status

Table of Contents

Build instructions

Please check OS specific requirements below.

Build using Makefile

First, build dependencies:

make deps

then the app itself:

make

To build, then run the app:

make run

Run unit tests with

make test

and UI tests with

make uitest

Linux

You'll need QT to be at least version 5.2

If qmake is not on your PATH, set this first, before running make:

export QMAKE=/usr/bin/qmake-qt5

You also need libreadline-dev to build.

Below are some distribution specific package requirements:

Debian

  • qt5-default

Ubuntu

  • xorg-dev
  • qtcreator
  • libxss-dev
  • libqt5webkit5-dev

Fedora

  • qt5-qtwebkit-devel
  • libXScrnSaver-devel
  • qt5-qtsvg

Windows

Install dev tools

We're building the Windows app using Visual Studio Community 2013 - it's a free download

You'll need to install ActivePerl to build OpenSSL from source.

If you plan to run tests then you might want to install Cygwin.

Build OpenSSL

To build OpenSSL, from Visual Studio Tools, open up a Developer Command Prompt.

cd to the project folder, then

cd third_party\openssl
perl Configure VC-WIN32
ms\do_nasm
nmake -f ms\ntdll.mak clean
nmake -f ms\ntdll.mak 

Instead of do_nasm (use NASM) you can also use do_ms (no asm at all), or do_masm (use MASM). NASM can be downloaded here: http://www.nasm.us/pub/nasm/releasebuilds/?C=M;O=D

Install NuGet packages

Open the solution in Visual Studio. Next, you'll need to install the net-bugsnag package: from the Tools menu select NuGet Package Manager, then Package Manager Console. Into the console, type:

Install-Package Bugsnag.Library

From the same console, install Oauth2 related packages:

Install-Package Google.Apis.Auth;
Install-Package Google.Apis.Oauth2.v2;

Build the app

Now, select Release from the Solution Configurations combobox in the Visual Studio toolbar, and build the solution.

If you have Cygwin installed, you can also build the app from from Cygwin terminal, using make. (See OSX and Linux build instructions on above regarding make).

Downloads

OSX

Toggl built and signed app for OSX is available for download. You need at least OSX 10.8.

Windows

Toggl built and signed app for Windows is available for download. App has been tested on Windows 7, 8 and 8.1

Linux (64 bit only)

Contribute

Before sending us a pull request, please format the source code:

make fmt

Also, please check for any cpplint issues:

make lint

Check if unit tests continue to pass:

make test

toggldesktop's People

Contributors

buma avatar indrekv avatar samford avatar tanel avatar tripox avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.