[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-usability
Subject:    Re: Recent locations: prototype ready
From:       William Leese <william () leese ! nl>
Date:       2004-06-11 16:55:37
Message-ID: 40C9E409.8020701 () leese ! nl
[Download RAW message or body]

Maurizio Colucci wrote:

>A working prototype of this behavior can be found in my program, called 
>(temporarily) "Logical desktop". Unfortunately there's no home page yet. 
>Source code available with (mind the newline)
>
>cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/segusoland checkout 
>logicaldesktop
>
>  
>
I downloaded this and followed the instructions. My resulting binary is
logicaldesktop. When trying to start it I get the following message:

[FATAL ERROR:
        Could not find system resources]
QThreadStorage: thread 4111e640 exited after QThreadStorage destroyed

This is on debian unstable, QT 3.3.2 compiled from sources, KDE CVS 
compiled from sources (about 1 week old) and swi-prolog 5.2.7. There 
were no errors during compilation.

I've attached the Makefile.

  -- William

["Makefile" (text/plain)]

#############################################################################
# Makefile for building: logicaldesktop
# Generated by qmake (1.06c) (Qt 3.2.3) on: Fri Jun 11 00:04:13 2004
# Project:  logicaldesktop.pro
# Template: app
# Command: $(QMAKE) -o Makefile logicaldesktop.pro
#############################################################################

####### Compiler, tools and options

CC       = gcc
CXX      = g++
LEX      = flex
YACC     = yacc
CFLAGS   = -pipe -Wall -W -O2  -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
CXXFLAGS = -pipe -Wall -W -O2  -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
LEXFLAGS = 
YACCFLAGS= -d
INCPATH  = -I/home/wvl/qt3/mkspecs/default -I. -I. -I$(QTDIR)/include \
-I/usr/lib/swi-prolog/include LINK     = g++
LFLAGS   =  -Wl,-rpath,$(QTDIR)/lib
LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm \
-L/usr/lib/swi-prolog/runtime/i386 -lplmt -ldl -lreadline -lncurses -lm -lrt \
-lpthread AR       = ar cqs
RANLIB   = 
MOC      = $(QTDIR)/bin/moc
UIC      = $(QTDIR)/bin/uic
QMAKE    = qmake
TAR      = tar -cf
GZIP     = gzip -9f
COPY     = cp -f
COPY_FILE= $(COPY)
COPY_DIR = $(COPY) -r
DEL_FILE = rm -f
SYMLINK  = ln -sf
DEL_DIR  = rmdir
MOVE     = mv -f
CHK_DIR_EXISTS= test -d
MKDIR    = mkdir -p

####### Output directory

OBJECTS_DIR = ./

####### Files

HEADERS = 
SOURCES = intelliDesktop.cc
OBJECTS = intelliDesktop.o
FORMS = 
UICDECLS = 
UICIMPLS = 
SRCMOC   = intelliDesktop.moc
OBJMOC = 
DIST	   = logicaldesktop.pro
QMAKE_TARGET = logicaldesktop
DESTDIR  = 
TARGET   = logicaldesktop

first: all
####### Implicit rules

.SUFFIXES: .c .o .cpp .cc .cxx .C

.cpp.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cc.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cxx.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.C.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.c.o:
	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<

####### Build rules

all: Makefile $(TARGET)

$(TARGET):  $(UICDECLS) $(OBJECTS) $(OBJMOC)  
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) $(OBJCOMP)

mocables: $(SRCMOC)
uicables: $(UICDECLS) $(UICIMPLS)

$(MOC): 
	( cd $(QTDIR)/src/moc ; $(MAKE) )

Makefile: logicaldesktop.pro  /home/wvl/qt3/mkspecs/default/qmake.conf \
../../qt3/lib/libqt-mt.prl  $(QMAKE) -o Makefile logicaldesktop.pro
qmake: 
	@$(QMAKE) -o Makefile logicaldesktop.pro

dist: 
	@mkdir -p .tmp/logicaldesktop && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) \
$(FORMS) $(DIST) .tmp/logicaldesktop/ && ( cd `dirname .tmp/logicaldesktop` && $(TAR) \
logicaldesktop.tar logicaldesktop && $(GZIP) logicaldesktop.tar ) && $(MOVE) `dirname \
.tmp/logicaldesktop`/logicaldesktop.tar.gz . && $(DEL_FILE) -r .tmp/logicaldesktop

mocclean:
	-$(DEL_FILE) $(SRCMOC)

uiclean:

yaccclean:
lexclean:
clean: mocclean
	-$(DEL_FILE) $(OBJECTS)
	-$(DEL_FILE) *~ core *.core


####### Sub-libraries

distclean: clean
	-$(DEL_FILE) $(TARGET) $(TARGET)


FORCE:

####### Compile

intelliDesktop.o: intelliDesktop.cc intelliDesktop.moc

intelliDesktop.moc: $(MOC) intelliDesktop.cc
	$(MOC) intelliDesktop.cc -o intelliDesktop.moc

####### Install

install: all  

uninstall:  



_______________________________________________
kde-usability mailing list
kde-usability@kde.org
https://mail.kde.org/mailman/listinfo/kde-usability


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic