Thanks to visit codestin.com
Credit goes to github.com

Skip to content

glogg-1.0.2 - support for DBus with Qt5 #84

@dwrobel

Description

@dwrobel

I'm preparing 1.0.2 version for Fedora using Qt5.4. To compile it the QtDBus support I had to patch the glogg.pro as following:

Index: glogg-1.0.2/glogg.pro
===================================================================
--- glogg-1.0.2.orig/glogg.pro  2015-01-16 19:22:27.176817040 +0100
+++ glogg-1.0.2/glogg.pro       2015-01-16 19:23:27.188240322 +0100
@@ -212,7 +212,7 @@ else {
 }

 # Optional features (e.g. CONFIG+=no-dbus)
-system(pkg-config --exists QtDBus):!no-dbus {
+system(pkg-config --exists Qt5DBus):!no-dbus {
     message("Support for D-BUS will be included")
     QT += dbus
     QMAKE_CXXFLAGS += -DGLOGG_SUPPORTS_DBUS

Later when I run the glogg (especially with the -m option) it prints the following errors:

$ killall -9 glogg
$ glogg  /etc/services &
[1] 14917
$ - 19:42:37.969 ERROR src/overview.cpp:145: Overview::recalculatesLines: logFilteredData_ == NULL
$ glogg  -m /etc/services 
- 19:42:48.428 ERROR src/dbusexternalcom.cpp:48: 
- 19:42:48.579 ERROR src/overview.cpp:145: Overview::recalculatesLines: logFilteredData_ == NULL

The message from src/dbusexternalcom.cpp:48: probably doesn't need to be an "ERROR"?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions