cmake_minimum_required(VERSION 3.9) project(tst_comboWithLargeModel) set(CMAKE_INCLUDE_CURRENT_DIR ON) find_package(Qt6 CONFIG REQUIRED COMPONENTS Core Gui Widgets Test) set(CMAKE_AUTOMOC TRUE) set(CMAKE_AUTORCC TRUE) add_executable(tst_comboWithLargeModel tst_comboWithLargeModel.cpp ) target_link_libraries(tst_comboWithLargeModel Qt6::Test Qt6::Widgets)