Switch to unified view

a/src/qtgui/recoll.pro.in b/src/qtgui/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   += \
6
HEADERS += \
7
  advsearch_w.h \
7
        ../qtgui/advsearch_w.h \
8
  spell_w.h \
9
  preview_w.h \
10
  rclmain_w.h \
11
  reslist.h \
12
  rclhelp.h \
13
  sort_w.h \
14
  searchclause_w.h \
15
  ssearch_w.h \
16
  uiprefs_w.h \
17
        viewaction_w.h \
18
        confgui/confgui.h \
8
        ../qtgui/confgui/confgui.h \
19
        confgui/confguiindex.h
9
        ../qtgui/confgui/confguiindex.h \
10
        ../qtgui/preview_w.h \
11
        ../qtgui/rclhelp.h \
12
        ../qtgui/rclmain_w.h \
13
        ../qtgui/reslist.h \
14
        ../qtgui/searchclause_w.h \
15
        ../qtgui/sort_w.h \
16
        ../qtgui/spell_w.h \
17
        ../qtgui/ssearch_w.h \
18
        ../qtgui/uiprefs_w.h \
19
        ../qtgui/viewaction_w.h \
20
20
21
21
22
SOURCES   += \
22
SOURCES += \
23
  guiutils.cpp \
24
  idxthread.cpp \
25
  main.cpp \
26
  rclmain_w.cpp \
27
  reslist.cpp \
28
        advsearch_w.cpp \
23
        ../qtgui/advsearch_w.cpp \
29
  rclhelp.cpp \
30
  spell_w.cpp \
31
        preview_w.cpp \
32
        sort_w.cpp \
33
  searchclause_w.cpp \
34
        ssearch_w.cpp \
35
        uiprefs_w.cpp \
36
        viewaction_w.cpp \
37
        confgui/confgui.cpp \
24
        ../qtgui/confgui/confgui.cpp \
38
        confgui/confguiindex.cpp
25
        ../qtgui/confgui/confguiindex.cpp \
26
        ../qtgui/guiutils.cpp \
27
        ../qtgui/idxthread.cpp \
28
        ../qtgui/main.cpp \
29
        ../qtgui/preview_w.cpp \
30
        ../qtgui/rclhelp.cpp \
31
        ../qtgui/rclmain_w.cpp \
32
        ../qtgui/reslist.cpp \
33
        ../qtgui/searchclause_w.cpp \
34
        ../qtgui/sort_w.cpp \
35
        ../qtgui/spell_w.cpp \
36
        ../qtgui/ssearch_w.cpp \
37
        ../qtgui/uiprefs_w.cpp \
38
        ../qtgui/viewaction_w.cpp \
39
39
40
FORMS = \
41
  advsearch.ui \
42
  spell.ui \
43
  rclmain.ui \
44
  sort.ui \
45
  ssearchb.ui \
46
  uiprefs.ui \
47
  viewaction.ui
48
40
41
42
FORMS   = \
43
        ../qtgui/advsearch.ui \
44
        ../qtgui/rclmain.ui \
45
        ../qtgui/sort.ui \
46
        ../qtgui/spell.ui \
47
        ../qtgui/ssearchb.ui \
48
        ../qtgui/uiprefs.ui \
49
        ../qtgui/viewaction.ui \
50
51
49
IMAGES    = \
52
IMAGES  = \
50
  images/asearch.png \
53
        ../qtgui/images/asearch.png \
51
  images/d_firstpage.png \
54
        ../qtgui/images/d_firstpage.png \
52
  images/d_nextpage.png \
55
        ../qtgui/images/d_nextpage.png \
53
  images/d_prevpage.png \
56
        ../qtgui/images/d_prevpage.png \
54
  images/d_spell.png \
57
        ../qtgui/images/d_spell.png \
55
  images/firstpage.png \
58
        ../qtgui/images/firstpage.png \
56
  images/history.png \
59
        ../qtgui/images/history.png \
57
  images/nextpage.png \
60
        ../qtgui/images/nextpage.png \
58
  images/prevpage.png \
61
        ../qtgui/images/prevpage.png \
59
  images/sortparms.png \
62
        ../qtgui/images/sortparms.png \
60
  images/spell.png 
63
        ../qtgui/images/spell.png \
64
61
65
62
unix {
66
unix {
63
  UI_DIR = .ui
67
  UI_DIR = .ui
64
  MOC_DIR = .moc
68
  MOC_DIR = .moc
65
  OBJECTS_DIR = .obj
69
  OBJECTS_DIR = .obj
...
...
67
  LIBS += ../lib/librcl.a \
71
  LIBS += ../lib/librcl.a \
68
            $(BSTATIC) @LIBXAPIAN@ @LIBICONV@ $(BDYNAMIC) \
72
            $(BSTATIC) @LIBXAPIAN@ @LIBICONV@ $(BDYNAMIC) \
69
           -lz
73
           -lz
70
74
71
  INCLUDEPATH += ../common ../index ../internfile ../query ../unac \
75
  INCLUDEPATH += ../common ../index ../internfile ../query ../unac \
72
        ../utils ../aspell ../rcldb confgui
76
              ../utils ../aspell ../rcldb confgui
73
  POST_TARGETDEPS = ../lib/librcl.a
77
  POST_TARGETDEPS = ../lib/librcl.a
74
}
78
}
75
79
76
UNAME = $$system(uname -s)
80
UNAME = $$system(uname -s)
77
contains( UNAME, [lL]inux ) {
81
contains( UNAME, [lL]inux ) {
78
          LIBS -= -liconv
82
          LIBS -= -liconv
83
    LIBS += -ldl -lX11
79
}
84
}
80
contains( UNAME, SunOS ) {
85
contains( UNAME, SunOS ) {
81
          LIBS += -ldl
86
          LIBS += -ldl
82
}
87
}
83
88
84
TRANSLATIONS = i18n/recoll_de.ts \
89
TRANSLATIONS = \
85
         i18n/recoll_fr.ts \
90
         ../qtgui/i18n/recoll_de.ts \
86
       i18n/recoll_it.ts \
91
             ../qtgui/i18n/recoll_fr.ts \
87
       i18n/recoll_ru.ts \
92
             ../qtgui/i18n/recoll_it.ts \
88
       i18n/recoll_tr.ts  \
93
             ../qtgui/i18n/recoll_ru.ts \
89
       i18n/recoll_uk.ts  \
94
             ../qtgui/i18n/recoll_tr.ts  \
90
       i18n/recoll_xx.ts
95
             ../qtgui/i18n/recoll_uk.ts  \
96
             ../qtgui/i18n/recoll_xx.ts \