1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-05-12 12:00:14 +00:00
QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS. https://qb64.com
Go to file
2020-02-25 21:21:12 +11:00
.ci Too soon to drop osx... 2020-02-20 22:02:54 -03:00
.github Update issue templates [ci-skip] (#30) 2020-01-19 15:19:58 -03:00
internal Update internal/source 2020-02-25 00:03:13 +00:00
licenses Fix up licensing details 2020-02-25 21:21:12 +11:00
programs/samples Removes virtual keyboard references (1/2) 2019-04-14 16:42:04 -03:00
source Merge pull request #45 from johnkharvey/development 2020-02-24 22:33:13 -03:00
.gitignore Ignore autogenerated files 2020-01-04 21:34:15 +11:00
COPYING.txt Fix up licensing details 2020-02-25 21:21:12 +11:00
cyberbit.ttf (Automated push) Update internal/source/* from qb64.bas 2015-08-02 05:12:44 -07:00
qb64.1 Update text, add -v option 2020-01-02 14:32:31 +11:00
qb64_start_osx.command Too soon to drop osx... 2020-02-20 22:02:54 -03:00
README.md Proper linking in README.md [ci-skip] 2020-02-23 00:48:43 -03:00
setup_lnx.sh Minor wording for linux script 2020-01-19 10:59:14 -03:00
setup_osx.command Too soon to drop osx... 2020-02-20 22:02:54 -03:00
setup_win.bat Patch to $IF UNDEFINED 2019-11-27 03:04:25 -05:00

QB64

QB64 is a modern extended BASIC+OpenGL language that retains QB4.5/QBasic compatibility and compiles native binaries for Windows (XP and up), Linux and macOS. contributions welcome

Table of Contents

  1. Installation

    1. Windows
    2. macOS
    3. Linux
  2. Usage

  3. Additional Info

Installation

Download the appropriate package for your operating system over at https://github.com/QB64Team/qb64/releases.

Windows

Make sure to extract the package contents to a folder with full write permissions (failing to do so may result in IDE or compilation errors).

  • It is advisable to to whitelist the QB64 folder in your antivirus/antimalware software *

macOS

Before using QB64 make sure to install the Xcode command line tools with:

xcode-select --install

The package comes with a precompiled qb64 binary that will run as is in macOS Catalina. For older versions of macOS, run ./setup_osx.command to compile QB64 for your OS version.

Linux

The package comes with a precompiled qb64 binary that will run as is in most Debian-based distributions. For other distributions, compile QB64 with ./setup_lnx.sh.

Dependencies should be automatically installed. Required packages include OpenGL, ALSA and the GNU C++ Compiler.

Usage

Run the QB64 executable to launch the IDE, which you can use to edit your .BAS files. From there, hit F5 to compile and run your code.

To generate a binary without running it, hit F11.

Additionally, if you do not wish to use the integrated IDE and to only compile your program, you can use the following command-line calls:

qb64 -c yourfile.bas

qb64 -c yourfile.bas -o outputname.exe

Replacing -c with -x will compile without opening a separate compiler window.

Additional Information

More about QB64 at our wiki: www.qb64.org/wiki

We have a community forum at: www.qb64.org/forum

We tweet from @QB64Team

Find us on Discord: http://discord.qb64.org

Find us on IRC: http://irc.qb64.org/