Skip to content
openframeworks addon for Qt
C++ Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
10_QofApp 色々な makeup Mar 12, 2018
1_qtUI_ofWindow first example May 25, 2017
2_qtUI_multiOFWindow fix example 2 Mar 9, 2018
3_qtUI_singleQtwindow 色々な makeup Mar 12, 2018
4_multiOfAppMultiQtWindow
5_oneOfApp_MultiQtWindow
6_ofAppsInsideQtWindows 色々な makeup Mar 12, 2018
7_ofAppsInsideQtWindowsWithImgui 色々な makeup Mar 12, 2018
8_ofAppsInsideQtWindowsWithImgui_singleOfLoop
9_noTimer
screenshots added readme and screenshots May 30, 2017
settingsTest
src temporarily remove prints Mar 27, 2018
.gitignore
README.md fix images May 30, 2017
addon_config.mk add addon config, remove unused files May 30, 2017
license.md
status.txt

README.md

ofxQt

Introduction

License

MIT License

Installation

  • Install Qt, let it fall at the default folder (c:\Qt)
  • In VS, extensions: install Qt VS Tool.

How to turn an PG generated project to a Qt project (Visual Studio):

  • Run Project generator and add Qt addon.
  • open .vcxproj file and modify the tag:
<PropertyGroup Label="Globals">
<Keyword>Win32Proj</Keyword>

to :

<PropertyGroup Label="Globals">
<Keyword>Qt4VSv1.0</Keyword>
  • Right click on project, Convert to Qt VS Tool project
  • Select project properties/C++/General and add:

$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtOpenGL;$(QTDIR)\include\QtUiTools;$(QTDIR)\include\QtWidgets;.\GeneratedFiles;..\src;

  • Right click on project\properties\Linker and add:

General\Additional Library Directories:

$(QTDIR)\lib

Input\Additional dependencies:Debug:

Qt5Cored.lib;Qt5Guid.lib;Qt5OpenGLd.lib;opengl32.lib;glu32.lib;Qt5UiToolsd.lib;Qt5Widgetsd.lib;%(AdditionalDependencies)

Release:

Qt5Core.lib;Qt5Gui.lib;Qt5OpenGL.lib;opengl32.lib;glu32.lib;Qt5UiTools.lib;Qt5Widgets.lib;%(AdditionalDependencies)

  • If you get linker errors its because Qt VS extension is not really good. Try deleting all generated files, both in the phisical HD and in the VS project. Also the following folders.
bin\
obj\
GeneratedFiles\

Also remove the .ui files from the project and add them again, this must add a custom pre build step runner by Qt compiler. It turns ObjectName.ui files to ui_ObjectName.h files. Then build again. Good "luck"!

Dependencies

  • Qt
  • ofxGUI (examples only)

Compatibility

Known issues

Version history

Screenshots

Image of Of_inside_Qt

Image of ofAppQtWindow

You can’t perform that action at this time.