Switch to unified view

a/src/qt4gui/recoll.pro.in b/src/qt4gui/recoll.pro.in
1
TEMPLATE    = app
1
TEMPLATE    = app
2
LANGUAGE    = C++
2
LANGUAGE    = C++
3
3
4
CONFIG  += qt warn_on thread release debug
4
CONFIG  += qt warn_on thread release debug
5
5
6
HEADERS   += rclmain.h rclreslist.h uiprefs.h recollmain.h 
6
HEADERS   += \
7
HEADERS += preview/preview.h advsearch.h sort.h ssearchb.h
7
  ../qtgui/advsearch_w.h \
8
  ../qtgui/spell_w.h \
9
  ../qtgui/preview_w.h \
10
  ../qtgui/rclmain_w.h \
11
  ../qtgui/reslist.h \
12
  ../qtgui/sort_w.h \
13
  ../qtgui/searchclause_w.h \
14
  ../qtgui/ssearch_w.h \
15
  ../qtgui/uiprefs_w.h
8
16
9
SOURCES   += main.cpp \
10
  rclmain.cpp \
11
  idxthread.cpp \
12
  plaintorich.cpp \
13
  guiutils.cpp \
14
  rclreslist.cpp \
15
        uiprefs.cpp \
16
        recollmain.cpp \
17
        preview/preview.cpp \
18
        advsearch.cpp \
19
        sort.cpp \
20
        ssearchb.cpp
21
17
22
FORMS =  sort.ui \
18
SOURCES   += \
23
        advsearch.ui \
19
  ../qtgui/guiutils.cpp \
24
        recollmain.ui \
20
  ../qtgui/idxthread.cpp \
25
        preview/preview.ui \
21
  ../qtgui/main.cpp \
26
        uiprefs.ui \
22
  ../qtgui/plaintorich.cpp \
27
        ssearchb.ui
23
  ../qtgui/rclmain_w.cpp \
24
  ../qtgui/reslist.cpp \
25
        ../qtgui/advsearch_w.cpp \
26
  ../qtgui/spell_w.cpp \
27
        ../qtgui/preview_w.cpp \
28
        ../qtgui/sort_w.cpp \
29
  ../qtgui/searchclause_w.cpp \
30
        ../qtgui/ssearch_w.cpp \
31
        ../qtgui/uiprefs_w.cpp
28
32
33
FORMS = \
34
  advsearch.ui \
35
  spell.ui \
36
  preview.ui \
37
  rclmain.ui \
38
  sort.ui \
39
  ssearchb.ui \
40
  uiprefs.ui 
41
29
RESOURCES += icons.qrc
42
RESOURCES = recoll.qrc
30
43
31
unix {
44
unix {
32
  UI_DIR = .ui
45
  UI_DIR = .ui
33
  MOC_DIR = .moc
46
  MOC_DIR = .moc
34
  OBJECTS_DIR = .obj
47
  OBJECTS_DIR = .obj
35
48
36
  DEFINES += RECOLL_DATADIR=\"@QTRECOLL_DATADIR@\"
49
  DEFINES += RECOLL_DATADIR='\\"@QTRECOLL_DATADIR@\\"'
37
  LIBS += ../lib/librcl.a ../bincimapmime/libmime.a \
50
  LIBS += ../lib/librcl.a ../bincimapmime/libmime.a \
38
            $(BSTATIC) @LIBXAPIAN@ @LIBICONV@ $(BDYNAMIC) \
51
            $(BSTATIC) @LIBXAPIAN@ @LIBICONV@ $(BDYNAMIC) \
39
           -lz
52
           -lz
40
53
41
  INCLUDEPATH += ../common ../index ../query ../unac ../utils 
54
  INCLUDEPATH += ../common ../index ../internfile ../query ../unac \
55
        ../utils ../aspell ../rcldb ../qt4gui/.ui ../qtgui ../../qtgui
42
  POST_TARGETDEPS = ../lib/librcl.a
56
  POST_TARGETDEPS = ../lib/librcl.a
43
}
57
}
44
58
45
UNAME = $$system(uname -s)
59
UNAME = $$system(uname -s)
46
contains( UNAME, [lL]inux ) {
60
contains( UNAME, [lL]inux ) {
47
          LIBS -= -liconv
61
          LIBS -= -liconv
48
}
62
}
63
contains( UNAME, SunOS ) {
64
          LIBS += -ldl
65
}
49
66
50
TRANSLATIONS = i18n/recoll_fr.ts i18n/recoll_ru.ts i18n/recoll_uk.ts
67
TRANSLATIONS = i18n/recoll_fr.ts i18n/recoll_ru.ts i18n/recoll_uk.ts
51
#The following line was inserted by qt3to4
52
QT +=  qt3support 
68
QT += qt3support