Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

add qtwidgets to cmake file

cmake_minimum_required(VERSION 3.16)

project(helloworld VERSION 1.0.0 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)

find_package(Qt6 REQUIRED COMPONENTS Widgets)

add_executable(helloworld
    mainwindow.ui
    mainwindow.cpp
    main.cpp
    resources.qrc
)

target_link_libraries(helloworld PRIVATE Qt6::Widgets)
Comment

PREVIOUS NEXT
Code Example
Csharp :: HTTP Error 500.35 - ASP.NET Core does not support multiple apps in the same app pool 
Csharp :: animation setbool unity 
Csharp :: fluent api 
Csharp :: finding keys in the registry 
Csharp :: c# get a value from value tuple list 
Csharp :: calculator in c# 
Csharp :: c# list remove by index 
Csharp :: dxf read c# 
Csharp :: adding to a dictionary unity 
Csharp :: c# convert date to oracle format 
Csharp :: c# while loop 
Csharp :: csharp bubble sort 
Csharp :: csharp Console.Read(); 
Csharp :: Remove access to admin from deleting the file in C# 
Csharp :: asp net saber ip address of client machine IIS 
Csharp :: run dll file 
Csharp :: c# list any retun indec 
Csharp :: c# group array based on first character 
Csharp :: c# loop 2 time tables 
Csharp :: int model property shows 0 in textbox .net core 
Csharp :: unity color alpha not working 
Csharp :: administration 
Csharp :: Lambda Expression to filter a list of list of items 
Csharp :: c# clear linkList 
Csharp :: c# how to get a file path from user 
Csharp :: how to set the current user httpcontext.current.user asp.net -mvc 
Csharp :: static constructor in c# 
Csharp :: run a command line from vb.net app 
Csharp :: foreach for IEnumerable 
Csharp :: create class for database connection in c# 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =