Переглянути джерело

add common/makeprotointerface for auto create ivprotoif.pro for view_message. but view_viewmessage code not write.

yuchuli 3 роки тому
батько
коміт
c755448277

+ 2 - 0
src/tool/view_message/dialogviewmessage.cpp

@@ -1,6 +1,8 @@
 #include "dialogviewmessage.h"
 #include "ui_dialogviewmessage.h"
 
+#include "ivprotoif.h"
+
 DialogViewMessage::DialogViewMessage(std::string strmsgname,QWidget *parent) :
     QDialog(parent),
     ui(new Ui::DialogViewMessage)

+ 2 - 0
src/tool/view_message/view_message.pro

@@ -51,3 +51,5 @@ else: unix:!android: target.path = /opt/$${TARGET}/bin
 !include(../../../include/ivprotobuf.pri ) {
     error( "Couldn't find the ivprotobuf.pri file!" )
 }
+
+LIBS += -livprotoif