Skip to content

jgcoded/UVA-Arena-Qt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UVA-Arena

Facebook Icon Facbook Page

UVA Arena is a cross-platform, non-commercial, open source application made to help programmers become better programmers. UVA Arena uses the UVA Online Judge and APIs from uHunt to provide programmers with lots of contest programming problems.

What's different about this version of UVA-Arena?

This version of UVA Arena is an alternative to the original UVA Arena application developed by Sudipto Chandra. Development on this fork concentrates on compatibility with all major operating systems. Cross-compatibility is achieved through the Qt GUI framework. This fork also attempts to provide a simple, modern GUI interface while maintaining most of the features available from the original UVA Arena application.

Screenshots:

Feature request

To request a feature, submit a new issue.

Licence Information

This software is licensed under the MIT License.

Building from source

You will only have to do the following once!

To build UVA-Arena from source, you will need Qt5, git, and CMake.

Clone this repository to a preferred directory, and update all submodules with this command:

$ git submodule update --init --recursive

This will download all of UVA-Arena's dependencies.

Now mupdf must be be built before proceeding.

On windows, go to this directory:

[UVA-Arena root]/submodules/mupdf-qt/mupdf/platform/win32

and open the the solution file within the directory. Compile the solution and ignore anything about libcurl.

On Linux-based OSs, run the Makefile located in the root of mupdf.

With mupdf built, open up the CMake gui and set

"where is the source code: " to the root of the UVA-Arena project

and "Where to build the binaries: " to [UVA-Arena project root]/build

Next, click on the "Configure" button. CMake will let you know that the directory doesn't exist. Press OK, and then another window will pop asking you to specify the generator for the project. On Windows, you'll most likely be developing with Visual Studio so select the version of Visual Studio that you have in the drop down list. If you're not using Visual Studio, then select the appropriate drop down item. On Linux-based OSs, simply select Unix Makefiles.

Leave everything else as is and click Finish. You will get an error prompting you to:

"Set Qt5_CMAKE_DIR to the directory containing the Qt5 cmake files"

This is a little shortcut UVA-Arena uses to have the user set their Qt5 directory that holds the CMake files that UVA-Arena needs. You can find your Qt5 CMake directory by navigating to your Qt5 installation directory, and navigating to this directory:

[Qt root]/Qt[Version]/[Version]/[configuration]/lib/cmake

For example, on a Windows computer, this directory might look like so: C:\Qt\Qt5.4.1\5.4\msvc2013_opengl\lib\cmake

set this directory as the value to Qt5_CMAKE_DIR, and then in the CMake gui click configure again, and then click generate. You will receive warnings in red text, but this is due to the mupdf-qt dependency. To ignore these warnings, click Options->Suppress dev Warnings in the CMake gui.

You should now have all the build files necessary to compile UVA-Arena within the build folder.

Trouble with CMake?

If you're having trouble with CMake and you have no idea why, follow these steps:

  • Delete your build folder
  • In the CMake gui, click File -> Delete cache

and then click Configure and generate again.

About

UVA Arena presents programmers with programming contest style problems to solve.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published