[vlmc-devel] [PATCH 13/14] Main: Use QCoreApplication

yikei lu luyikei.qmltu at gmail.com
Tue Apr 12 14:21:52 CEST 2016


Alright I'll make it correct by WITH_GUI

2016-04-12 21:19 GMT+09:00 Hugo Beauzée-Luyssen <hugo at beauzee.fr>:
> On 04/12/2016 02:16 PM, yikei lu wrote:
>>
>> as long as I tested right now, there is no problem
>>
>> 2016-04-12 21:15 GMT+09:00 Hugo Beauzée-Luyssen <hugo at beauzee.fr>:
>>>
>>> On 04/11/2016 08:09 AM, Yikai Lu wrote:
>>>>
>>>>
>>>> ---
>>>>    src/Main/main.cpp | 2 +-
>>>>    1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/src/Main/main.cpp b/src/Main/main.cpp
>>>> index b72b84a..77ba8b5 100644
>>>> --- a/src/Main/main.cpp
>>>> +++ b/src/Main/main.cpp
>>>> @@ -41,7 +41,7 @@
>>>>    #include "Gui/wizard/firstlaunch/FirstLaunchWizard.h"
>>>>    #endif
>>>>
>>>> -#include <QApplication>
>>>> +#include <QCoreApplication>
>>>>    #include <QColor>
>>>>    #include <QFile>
>>>>    #include <QPalette>
>>>>
>>> Doesn't this break the GUI build?
>>> _______________________________________________
>>> Vlmc-devel mailing list
>>> Vlmc-devel at videolan.org
>>> https://mailman.videolan.org/listinfo/vlmc-devel
>>
>> _______________________________________________
>> Vlmc-devel mailing list
>> Vlmc-devel at videolan.org
>> https://mailman.videolan.org/listinfo/vlmc-devel
>>
> There's probably an indirect inclusion of QApplication then
> However, removing it will probably break the build if this patch gets
> applied.
>
> _______________________________________________
> Vlmc-devel mailing list
> Vlmc-devel at videolan.org
> https://mailman.videolan.org/listinfo/vlmc-devel


More information about the Vlmc-devel mailing list