{"id":13730618,"url":"https://github.com/nikeocom/qt_with_juce_example","last_synced_at":"2025-05-08T03:31:17.800Z","repository":{"id":215767072,"uuid":"221801223","full_name":"nikeocom/qt_with_juce_example","owner":"nikeocom","description":"Example project shows how to use Qt and JUCE library together","archived":false,"fork":false,"pushed_at":"2019-11-30T14:25:35.000Z","size":3229,"stargazers_count":21,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-04T02:09:43.245Z","etag":null,"topics":["audio-player","cpp","juce","juce-application","qml","qt","qt5"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikeocom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-11-14T22:56:21.000Z","updated_at":"2023-12-15T16:17:10.000Z","dependencies_parsed_at":"2024-01-07T21:54:43.208Z","dependency_job_id":null,"html_url":"https://github.com/nikeocom/qt_with_juce_example","commit_stats":null,"previous_names":["nikeocom/qt_with_juce_example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikeocom%2Fqt_with_juce_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikeocom%2Fqt_with_juce_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikeocom%2Fqt_with_juce_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikeocom%2Fqt_with_juce_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikeocom","download_url":"https://codeload.github.com/nikeocom/qt_with_juce_example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224695620,"owners_count":17354436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio-player","cpp","juce","juce-application","qml","qt","qt5"],"created_at":"2024-08-03T02:01:17.232Z","updated_at":"2024-11-14T21:31:22.485Z","avatar_url":"https://github.com/nikeocom.png","language":"C++","readme":"# How to\nFirst, you need to generate project in Projucer:\n![Alt text](tutorial/projucer.png?raw=true \"Audio application\")\n\nAnd now you have a generated code like this:\n![Alt text](tutorial/generated_folder.png?raw=true \"Genereted sources and XCode project\")\n\n# Dependecies\nFor example, i used XCode project. And now you need to get frameworks and defines from project\n![Alt text](tutorial/frameworks.png?raw=true \"Frameworks\")\n![Alt text](tutorial/defines.png?raw=true \"Defines\")\n\n# Qt Creator\nFor using a JUCE code in Qt project you need to add all sources, defines and set path to JUCE modules in project:\n```\n# Path to JUCE modules\nINCLUDEPATH += /path/to/JUCE/modules\n\n# Juce defines\nDEFINES += JUCE_APP_VERSION=1.0.0 \\\n           JUCE_APP_VERSION_HEX=0x10000 \\\n           JucePlugin_Build_VST=0 \\\n           JucePlugin_Build_VST3=0 \\\n           JucePlugin_Build_AU=0 \\\n           JucePlugin_Build_AUv3=0 \\\n           JucePlugin_Build_RTAS=0 \\\n           JucePlugin_Build_AAX=0 \\\n           JucePlugin_Build_Standalone=0 \\\n           JucePlugin_Build_Unity=0 \\\n           JUCE_USE_MP3AUDIOFORMAT=1 \\\n```\n\nFor Android you can find defines in CMakeLists.txt\n```\nadd_definitions(\"-DJUCE_ANDROID=1\" \"-DJUCE_ANDROID_API_VERSION=16\" \"-DJUCE_PUSH_NOTIFICATIONS=1\" \"-DJUCE_PUSH_NOTIFICATIONS_ACTIVITY=\\\"com/roli/juce/JuceActivity\\\"\" \"-DJUCER_ANDROIDSTUDIO_7F0E4A25=1\" \"-DJUCE_APP_VERSION=1.0.0\" \"-DJUCE_APP_VERSION_HEX=0x10000\")\n```\n\nFor OS X:\n```\n# Add framework for JUCE\n    LIBS += -framework Foundation\n    LIBS += -framework UIKit\n    LIBS += -framework AudioToolBox\n    LIBS += -framework CoreAudio\n    LIBS += -framework CoreAudioKit\n    LIBS += -framework CoreMIDI\n    LIBS += -framework Accelerate\n    LIBS += -framework Carbon\n    LIBS += -framework Cocoa\n    LIBS += -framework IOKit\n```\n\n(for other system you need to add special for OS libs)\n\n## Now JUCE code is added and we can compile it. But!\n\n### For full functionality you must run JuceApplication:\n1. Inherrit from ```JUCEApplication```\n2. Call:\n```\njuce::JUCEApplicationBase* juce_CreateApplication();\njuce::JUCEApplicationBase* juce_CreateApplication() { return new YourJuceApplicationClass();\n```\n3. Initialise JUCE GUI (order is required):\n```\n    // Need for MessageManager\n    initialiseJuce_GUI();\n    // for isStandalone() == true\n    juce::JUCEApplicationBase::createInstance = \u0026juce_CreateApplication;\n```\n","funding_links":[],"categories":["Integrations"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikeocom%2Fqt_with_juce_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikeocom%2Fqt_with_juce_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikeocom%2Fqt_with_juce_example/lists"}