Skip to content

Commit 3eaf063

Browse files
committed
GPU Standalone Display: Switch to Qt6
1 parent 3d4b9c4 commit 3eaf063

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

GPU/GPUTracking/Definitions/GPUSettingsList.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ AddOptionRTC(hipTailFilterAlpha, float, 0.5f, "", 0, "Smoothing factor for the e
119119
AddOptionRTC(occupancyMapTimeBins, uint16_t, 16, "", 0, "Number of timebins per histogram bin of occupancy map (0 = disable occupancy map)")
120120
AddOptionRTC(occupancyMapTimeBinsAverage, uint16_t, 0, "", 0, "Number of timebins +/- to use for the averaging")
121121
AddOptionRTC(trackFitCovLimit, uint16_t, 1000, "", 0, "Abort fit when y/z cov exceed the limit")
122-
AddOptionRTC(addErrorsCECrossing, uint8_t, 0, "", 0, "Add additional custom track errors when crossing CE, 0 = no custom errors but att 0.5 to sigma_z^2, 1 = only to cov diagonal, 2 = preserve correlations")
122+
AddOptionRTC(addErrorsCECrossing, uint8_t, 0, "", 0, "Add additional custom track errors when crossing CE, 0 = no custom errors but add 0.5 to sigma_z^2, 1 = only to cov diagonal, 2 = preserve correlations")
123123
AddOptionRTC(trackMergerMinPartHits, uint8_t, 10, "", 0, "Minimum hits of track part during track merging")
124124
AddOptionRTC(trackMergerMinTotalHits, uint8_t, 20, "", 0, "Minimum total of track part during track merging")
125125
AddOptionRTC(mergerCERowLimit, uint8_t, 5, "", 0, "Distance from first / last row in order to attempt merging accross CE")
@@ -305,7 +305,7 @@ AddHelp("help", 'h')
305305
EndConfig()
306306

307307
// Scaling factors for gpu buffer size estimation
308-
BeginSubConfig(GPUSettingsProcessingScaling, scaling, configStandalone.proc, "SCALING", 0, "Processing settings for neural network clusterizer", proc_scaling)
308+
BeginSubConfig(GPUSettingsProcessingScaling, scaling, configStandalone.proc, "SCALING", 0, "Memory scaling factor settings", proc_scaling)
309309
AddOption(offset, float, 1000., "", 0, "Scaling Factor: offset")
310310
AddOption(hitOffset, float, 20000, "", 0, "Scaling Factor: hitOffset")
311311
AddOption(tpcPeaksPerDigit, float, 0.2, "", 0, "Scaling Factor: tpcPeaksPerDigit")

GPU/GPUTracking/Standalone/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ if(GPUCA_BUILD_EVENT_DISPLAY)
107107
set(Vulkan_FOUND OFF)
108108
endif()
109109
if(GPUCA_BUILD_EVENT_DISPLAY_QT)
110-
find_package(Qt5 COMPONENTS Widgets REQUIRED)
110+
find_package(Qt6 COMPONENTS Widgets REQUIRED)
111111
endif()
112112
else()
113113
set(OpenGL_FOUND OFF)

GPU/GPUTracking/display/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ if(ALIGPU_BUILD_TYPE STREQUAL "O2")
2626
set_package_properties(Fontconfig PROPERTIES TYPE OPTIONAL)
2727
find_package(O2GPUWayland)
2828
set_package_properties(O2GPUWayland PROPERTIES TYPE OPTIONAL)
29-
find_package(Qt5 COMPONENTS Widgets)
30-
set_package_properties(Qt5 PROPERTIES TYPE OPTIONAL)
29+
find_package(Qt6 COMPONENTS Widgets)
30+
set_package_properties(Qt6 PROPERTIES TYPE OPTIONAL)
3131
endif()
3232

3333
if(Vulkan_FOUND)
@@ -46,7 +46,7 @@ endif()
4646
if(Freetype_FOUND)
4747
set(GPUCA_EVENT_DISPLAY_FREETYPE ON)
4848
endif()
49-
if(Qt5_FOUND)
49+
if(Qt6_FOUND)
5050
set(GPUCA_EVENT_DISPLAY_QT ON)
5151
endif()
5252

@@ -222,7 +222,7 @@ endif()
222222

223223
if(GPUCA_EVENT_DISPLAY_QT)
224224
target_compile_definitions(${targetName} PRIVATE GPUCA_BUILD_EVENT_DISPLAY_QT)
225-
target_link_libraries(${targetName} PRIVATE Qt5::Widgets)
225+
target_link_libraries(${targetName} PRIVATE Qt6::Widgets)
226226
endif()
227227

228228
target_link_libraries(${targetName} PRIVATE TBB::tbb)

0 commit comments

Comments
 (0)