[vlmc-devel] [PATCH 01/14] CMakeLists: Use Gui module in the CUI

yikei lu luyikei.qmltu at gmail.com
Tue Apr 12 13:36:35 CEST 2016


And also QImage/QPixmap/QColor... in some places

2016-04-12 20:33 GMT+09:00 Hugo Beauzée-Luyssen <hugo at beauzee.fr>:
> On 04/11/2016 08:09 AM, Yikai Lu wrote:
>>
>> ---
>>   src/CMakeLists.txt | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
>> index ce7fa9f..161ad07 100644
>> --- a/src/CMakeLists.txt
>> +++ b/src/CMakeLists.txt
>> @@ -16,7 +16,7 @@ if (Qt5Core_FOUND)
>>       if(WITH_GUI)
>>           find_package(Qt5 COMPONENTS Widgets Gui Network)
>>       else()
>> -        find_package(Qt5 COMPONENTS Network)
>> +        find_package(Qt5 COMPONENTS Gui Network)
>>       endif()
>>   endif()
>>
>> @@ -122,7 +122,7 @@ IF (NOT WITH_GUI)
>>       LIST (APPEND VLMC_SRCS Main/main.cpp Renderer/ConsoleRenderer.cpp )
>>       qt5_add_resources(VLMC_RCC_SRCS ${VLMC_RCC})
>>       ADD_EXECUTABLE(vlmc ${GUI_TYPE} ${VLMC_SRCS} ${VLMC_MOC_SRCS}
>> ${VLMC_RCC_SRCS})
>> -    qt5_use_modules(vlmc Core Network)
>> +    qt5_use_modules(vlmc Core Gui Network)
>>       TARGET_LINK_LIBRARIES(vlmc ${VLMC_LIBS})
>>
>>   #Add GUI stuff if required
>>
>
> Hi,
>
> I guess this is required until we stop using QUndoStack in the Core?
> _______________________________________________
> Vlmc-devel mailing list
> Vlmc-devel at videolan.org
> https://mailman.videolan.org/listinfo/vlmc-devel


More information about the Vlmc-devel mailing list