WizTeam / WizQTClient

为知笔记跨平台客户端
Other
2.63k stars 810 forks source link

无法在ubuntu14.04上编译通过 #526

Open omgredfog opened 6 years ago

omgredfog commented 6 years ago

i7@pc:~/123/WizQTClient$ ./linux-package.sh -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test COMPILER_SUPPORTS_CXX11 -- Performing Test COMPILER_SUPPORTS_CXX11 - Success -- Performing Test COMPILER_SUPPORTS_CXX0X -- Performing Test COMPILER_SUPPORTS_CXX0X - Success -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") -- /home/i7/123/WizQTClient/resources/wiznote.qrc WizNote whill compiling as Release, use Qt: 5.9.3 -- Configuring done CMake Warning (dev) in src/CMakeLists.txt: Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

For compatibility, CMake is excluding the GENERATED source file(s):

"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizLineInputDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizConsoleDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizPreferenceDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizProxyDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizCreateAccountDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizUpgradeNotifyDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizUserCipherForm.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizNoteInfoForm.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizEditorInsertLinkForm.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizEditorInsertTableForm.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizProgressDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizLoginDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizSearchReplaceWidget.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizDocTemplateDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizVerificationCodeDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizEmailShareDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizAdvancedSearchDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizCrashReportDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizTemplatePurchaseDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizExecutingActionDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizInitBizCertDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizUserServiceExprDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/ui_WizCombineNotesDialog.h"
"/home/i7/123/WizQTClient-Release-Linux/src/qrc_wiznote.cpp"

from processing by AUTOMOC. If any of the files should be processed, set CMP0071 to NEW. If any of the files should not be processed, explicitly exclude them by setting the source file property SKIP_AUTOMOC:

set_property(SOURCE file.h PROPERTY SKIP_AUTOMOC ON)

This warning is for project developers. Use -Wno-dev to suppress it.

dwSun commented 6 years ago

我也碰到了这个问题