QCDemu 0.2.2

Jakiś czas temu wyszła nowa wersja CDemu, więc postanowiłem sprawdzić czy moja nakładka nadal działa. Okazało się, że jest inaczej, bo kolejny raz został zmieniony interfejs DBus, a konkretnie metody DeviceGetStatus i DeviceLoad. Niekompatybilność bezzwłocznie usunąłem, a korzystając z okazji poprawiłem też obsługę ścieżek relatywnych w interfejsie cli. Nowa wersja sprawdza też czy zainstalowany jest daemon w odpowiedniej wersji. Myślę, że to wystarczający powód, by wydać nową wersję :) Zainteresowanych zapraszam do pobrania źródeł lub skorzystania z zaprzyjaźnionego roslin uberlay.

UPDATE: Została wydana nowa wersja.

25 komentarzy

  1. Prawidłowo zainstalowany powinien pojawić się w menu aplikacji. Możesz też odpalić go z "Wykonaj polecenie" (alt+f2). To nie jest miejsce dla pytań ogólno-linuksowych albo związanych z Ubuntu. Proszę o ograniczenie się do komentarzy związanych z programem.

  2. Jolo writes:

    Poradzilem sobie:) natomiast mam błąd, po wpisaniu do konsoli "Nie wykryto zasobnika systemowego" Bądz "root@jolopc:/media/ALL/qcdemu-0.2.2# qcdemu
    No protocol specified
    qcdemu: cannot connect to X server :0
    "

  3. Anonim writes:

    jolo@jolopc:~/Pobrane/qcdemu-0.2.2$ qmake && make && make install
    make: Nie ma nic do zrobienia w `first'.
    install -m 755 -p "qcdemu" "/usr/bin/qcdemu"
    install: nie można utworzyć zwykłego pliku `/usr/bin/qcdemu': Permission denied
    make: [install_target] Błąd 1 (zignorowany)
    mkdir: nie można utworzyć katalogu `/usr/share/applnk': Permission denied
    make: *** [install_applnk] Błąd 1
    jolo@jolopc:~/Pobrane/qcdemu-0.2.2$ qmake
    jolo@jolopc:~/Pobrane/qcdemu-0.2.2$ make
    make: Nie ma nic do zrobienia w `first'.
    jolo@jolopc:~/Pobrane/qcdemu-0.2.2$ make install
    install -m 755 -p "qcdemu" "/usr/bin/qcdemu"
    install: nie można utworzyć zwykłego pliku `/usr/bin/qcdemu': Permission denied
    make: [install_target] Błąd 1 (zignorowany)
    mkdir: nie można utworzyć katalogu `/usr/share/applnk': Permission denied
    make: *** [install_applnk] Błąd 1

  4. Anonim writes:

    OK, rozwiązałem problem. Miałem zainstalowane zarówno qt4-dev-tools, jak i qt3-dev-tools. Pomogło odinstalowanie qt3-dev-tools (i jeszcze musiałem usunąć kiso). Dopiero wtedy poszło.

  5. Anonim writes:

    Przy próbie kompilacji dostaję takie coś:

    $make
    g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DTRANSLATION_PATH=\"/usr/share/qcdemu\" -DVERSION=\"0.2.2\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/include/qt3 -o main.o main.cpp
    : warning: missing terminating " character
    : warning: missing terminating " character
    In file included from main.cpp:19:
    qcdemu.h:22:17: error: QtGui: No such file or directory
    qcdemu.h:23:25: error: QtDBus/QtDBus: No such file or directory
    main.cpp:32: error: stray ‘’ in program
    main.cpp:32: error: missing terminating " character
    In file included from main.cpp:19:
    qcdemu.h:35: error: expected class-name before ‘{’ token
    qcdemu.h:36: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
    qcdemu.h:38: error: expected ‘;’ before ‘public’
    qcdemu.h:40: error: ISO C++ forbids declaration of ‘QStringList’ with no type
    qcdemu.h:40: error: expected ‘,’ or ‘…’ before ‘&’ token
    qcdemu.h:43: error: expected ‘:’ before ‘slots’
    qcdemu.h:44: error: expected primary-expression before ‘void’
    qcdemu.h:44: error: ISO C++ forbids declaration of ‘slots’ with no type
    qcdemu.h:44: error: expected ‘;’ before ‘void’
    qcdemu.h:46: error: expected unqualified-id before ‘&’ token
    qcdemu.h:46: error: expected ‘)’ before ‘&’ token
    qcdemu.h:46: error: expected ‘;’ before ‘&’ token
    qcdemu.h:59: error: ‘QVariantList’ does not name a type
    qcdemu.h:72: error: ISO C++ forbids declaration of ‘QString’ with no type
    qcdemu.h:72: error: expected ‘,’ or ‘…’ before ‘&’ token
    qcdemu.h:73: error: ISO C++ forbids declaration of ‘QString’ with no type
    qcdemu.h:73: error: expected ‘,’ or ‘…’ before ‘&’ token
    qcdemu.h:74: error: ISO C++ forbids declaration of ‘QStringList’ with no type
    qcdemu.h:74: error: expected ‘,’ or ‘…’ before ‘&’ token
    qcdemu.h:75: error: ISO C++ forbids declaration of ‘QStringList’ with no type
    qcdemu.h:75: error: expected ‘,’ or ‘…’ before ‘&’ token
    qcdemu.h:79: error: ‘QStringList’ does not name a type
    qcdemu.h:88: error: ‘QString’ does not name a type
    qcdemu.h:95: error: ‘QStringList’ does not name a type
    qcdemu.h: In member function ‘unsigned int QCDemu::getDeviceNumber()’:
    qcdemu.h:67: error: variable ‘QDBusMessage reply’ has initializer but incomplete type
    qcdemu.h:67: error: invalid use of incomplete type ‘struct QDBusInterface’
    qcdemu.h:27: error: forward declaration of ‘struct QDBusInterface’
    main.cpp: In function ‘int main(int, char**)’:
    main.cpp:23: error: ‘QApplication’ was not declared in this scope
    main.cpp:23: error: expected ‘;’ before ‘app’
    main.cpp:26: error: ‘QTextCodec’ has not been declared
    main.cpp:26: error: ‘QTextCodec’ has not been declared
    main.cpp:27: error: ‘QTranslator’ was not declared in this scope
    main.cpp:27: error: expected ‘;’ before ‘trans’
    main.cpp:28: error: expected ‘;’ before ‘qt_trans’
    main.cpp:29: error: ‘QString’ was not declared in this scope
    main.cpp:29: error: expected ‘;’ before ‘lang’
    main.cpp:30: error: ‘qt_trans’ was not declared in this scope
    main.cpp:30: error: ‘lang’ was not declared in this scope
    main.cpp:31: error: ‘QLibraryInfo’ has not been declared
    main.cpp:31: error: ‘QLibraryInfo’ has not been declared
    main.cpp:32: error: ‘trans’ was not declared in this scope
    main.cpp:32: error: expected primary-expression before ‘)’ token
    main.cpp:33: error: ‘app’ was not declared in this scope
    main.cpp:37: error: ‘QStringList’ was not declared in this scope
    main.cpp:37: error: expected ‘;’ before ‘params’
    main.cpp:38: error: ‘params’ was not declared in this scope
    main.cpp:40: error: expected ‘;’ before ‘files’
    main.cpp:41: error: ‘QDir’ was not declared in this scope
    main.cpp:41: error: expected ‘;’ before ‘directory’
    main.cpp:44: error: ‘files’ was not declared in this scope
    main.cpp:44: error: ‘directory’ was not declared in this scope
    main.cpp:46: error: ‘files’ was not declared in this scope
    qcdemu.h:41: error: ‘QCDemu::~QCDemu()’ is private
    main.cpp:46: error: within this context
    main.cpp:51: error: incomplete type ‘QSystemTrayIcon’ used in nested name specifier
    main.cpp:53: error: incomplete type ‘QMessageBox’ used in nested name specifier
    main.cpp:53: error: ‘QObject’ has not been declared
    main.cpp:54: error: ‘QObject’ has not been declared
    main.cpp:58: error: no matching function for call to ‘QCDemu::QCDemu()’
    qcdemu.h:40: note: candidates are: QCDemu::QCDemu(int)
    qcdemu.h:35: note: QCDemu::QCDemu(const QCDemu&)
    qcdemu.h:41: error: ‘QCDemu::~QCDemu()’ is private
    main.cpp:58: error: within this context
    main.cpp: At global scope:
    main.cpp:21: warning: unused parameter ‘argc’
    main.cpp:21: warning: unused parameter ‘argv’
    make: *** [main.o] Błąd 1

    Czy ktoś może mi pomóc?

  6. quest writes:

    Zassałem CDemu 1.2.0. Mam Qt 4.5, Dossałem qt4-dev-tools + 136 MB zależności.

    Zassałem źródła QCDemu, skompilowałem, odpaliłem i dostaję "Nie wykryto urządzeń CDemu. Może zapomniałeś włączyć daemona CDemu?"

    No to wciskam Alt+F2, wybieram "Show System Activity", wpisuję "cdemu" i dostaję wynik: "cdemu-deamon.se" oraz "cdemud".

    Czy zacna społeczność ma pomysł, jak to rozwiązać?

  7. xeros writes:

    Rewelka! Nic dodać nic ująć :-)
    [ z tej aplikacji korzystam po raz pierwszy, ale już dawno czegoś takiego szukałem, chociażby po to aby ponagrywać płyty z obrazów Alcocholu ;-) i polecić znajomym, którzy właśnie się przesiedli na Linuksa ]
    Gratuluję świetnego programiku!

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *