Please enable JavaScript to view this site.

IDS peak 2.10.0 / uEye+ firmware 3.34

IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.

The easiest way to create your own project is to copy and customize a sample. To do this, change the project name in the CMakeLists.txt file and add additional source files if necessary:

CMakeLists.txt

...
project (new_project_name)
...
add_executable (${SAMPLE_TARGET_NAME}
  ${PROJECT_NAME}.cpp
  new_source_file.cpp
)
...

Copy the ".../IDS/ids_peak/sdk/samples/source/peak/_cmake_scripts/" folder next to your project folder. Now you can open the project like any other sample in Qt Creator.

A second option is to create the project using the Qt Creator wizard.

Select "File > New File or Project".

Select the required project type. For example, use "Non-Qt Project > Plain C++ Application" to create a simple console application, use "Application > Qt Widgets Application" or "Application > Qt Quick Application" to create an application with Qt interface.

Follow the steps of the project wizard.

Select the "CMake" type in the "Build system" step.

Follow the further steps of the project wizard and finish it. This creates the project.

Now adapt the CMakeLists.txt file for the use with IDS peak.

CMakeLists.txt

...
# use C++14 or higher
set(CMAKE_CXX_STANDARD 14)
...
# find IDS peak API API package
find_package(ids_peak REQUIRED)
...
# link IDS peak libraries
target_link_libraries(${PROJECT_NAME} PRIVATE ids_peak)
...

Further information about creating projects under Qt Creator can be found at https://doc.qt.io/qtcreator/creator-project-creating.html

© 2024 IDS Imaging Development Systems GmbH