diff options
| author | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2012-09-13 21:48:01 +0000 |
|---|---|---|
| committer | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2012-09-13 21:48:01 +0000 |
| commit | f2393c13f64ab9f00486319b5eb0184ad433a6ac (patch) | |
| tree | a09ef5c7dc4e0f436d757aa963d4dfd28f04d19f /pica-client/main.cpp | |
| parent | 3e6633f76df3d303b3dc2b5dd1703050fd1ea597 (diff) | |
| download | pica-pica-f2393c13f64ab9f00486319b5eb0184ad433a6ac.tar.gz pica-pica-f2393c13f64ab9f00486319b5eb0184ad433a6ac.zip | |
changes required to build pica pica on Windows in MSVS2008
git-svn-id: svn://localhost/project_picapica/trunk@202 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'pica-client/main.cpp')
| -rw-r--r-- | pica-client/main.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pica-client/main.cpp b/pica-client/main.cpp index 184e73b..9a71a43 100644 --- a/pica-client/main.cpp +++ b/pica-client/main.cpp @@ -29,7 +29,11 @@ class PicaSysTray *systray; // /usr/share/pica-client/pica-pica_CA.pem //QString config_defaultCA("/home/root_jr/files/projects/picapica_wc/localhost/project_picapica/trunk/tests/trusted_CA.pem"); +#ifndef WIN32 QString config_defaultCA(PICA_INSTALLPREFIX"/share/pica-client/CA.pem"); +#else +QString config_defaultCA("share\\CA.pem"); +#endif static bool create_config_dir() { @@ -134,9 +138,13 @@ int main(int argc, char *argv[]) if (!create_config_dir()) return -1; - +#ifndef WIN32 picapica_ico_sit = QIcon(PICA_INSTALLPREFIX"/share/pica-client/picapica-icon-sit.png"); picapica_ico_fly = QIcon(PICA_INSTALLPREFIX"/share/pica-client/picapica-icon-fly.png"); +#else + picapica_ico_sit = QIcon("share\\picapica-icon-sit.png"); + picapica_ico_fly = QIcon("share\\picapica-icon-fly.png"); +#endif PicaActionCenter ac; action_center = ∾ |
