summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/link.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add 2013 to the copyright.Niels Weber2013-02-051-1/+1
| | | | | Change-Id: If64730ba7203d1a910a426c0d9c9a738ecfeff4b Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Fix build with MSVC 2008.kh12013-01-291-2/+4
| | | | | Change-Id: I2ada7ebcc1c78fc7be536aec498721a2e83c9bac Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Make IFW compile with mingw.kh12013-01-291-23/+29
| | | | | Change-Id: I0336e02ef701a2bc392bd385d1822bc51cee0c5c Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Change copyright headers from Nokia to DigiaSergio Ahumada2012-12-211-18/+27
| | | | | Change-Id: Id55a71a6ee24b234739b6066e11e9c1f2e389f73 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* MinGW: fix include namesSergei Lopatin2012-10-261-1/+1
| | | | | Change-Id: I14fe622121fe8bd859afdb256175d5889c8b34bc Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* MinGW: fix casting wchar_t* from QStringSergei Lopatin2012-10-261-2/+2
| | | | | Change-Id: I89e5ae0dd83862077c6a0fa3e20f159c40213af7 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Revert "Fixes required for errorless MinGW-w64 compilation are done."kh12012-08-221-2/+2
| | | | | | | | This reverts commit 9cad5d54cf0d78e92b4ee831299d83b657f42f2e as it breaks compressing the meta folder (Windows 7, VS 2010). Change-Id: I24d4ec37941487fc3cc998706d33cd5d8b9f011a Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Fixes required for errorless MinGW-w64 compilation are done.tjenssen2012-08-101-2/+2
| | | | | | Change-Id: Iedc83b536df9f00e3737d7c92c4a57d6c0feb07a Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* normalize pathes in create symlink operation on linux aswellTim Jenssen2012-06-131-1/+2
| | | | | | Change-Id: I94a2408da5c5f39cf93c176a6562c851eab1facc Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Include unistd.h where needed on LinuxNiels Weber2012-06-051-0/+3
| | | | | | | | | | This allows compiling with gcc 4.7. For more information see: http://gcc.gnu.org/gcc-4.7/porting_to.html Change-Id: I1b3b62fad3c44bdeb701d961297519a2057bf76e Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Revert "windows needs to know that the link will be a directory"Tim Jenssen2012-06-011-7/+4
| | | | | | | | | - better is to use it on existing directory This reverts commit a240e7dbadc3f0cbcd4a483ddf7093562df8ca37. Change-Id: I9103174eaa392a28b7a278ca9343a94b66d76e80 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
* QFileInfo.exists looks for the target which wasn't intendedTim Jenssen2012-05-311-1/+1
| | | | | Change-Id: I8d371045bb500f8954a42523f8d5024b04309ceb Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* windows needs to know that the link will be a directoryTim Jenssen2012-05-311-4/+7
| | | | | | | | - but at the moment the directory doesn't exist so the only thing is to get that information from the last char Change-Id: I96ecc086ca19047dc0a3ae57262e903ae8923535 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* QFileInfo(m_path).readLink(); can't read junctionsTim Jenssen2012-05-301-16/+61
| | | | | | | | | | | | | - in older code there was a try to resolve junctions like symbolic links, but this broke many other code - we copied the read windows symlink code from the private qt file and made small adjustmenst to be able to call it directly in targetPath() method - and changed the isValid behaviour, because we want to create links to locations which are created later - and it is creating the path to the link on every OS Change-Id: Id11839bbf2ecfde410982833d10f96d36fe1cab7 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* normalize the pathes in windows create link functionsTim Jenssen2012-05-301-2/+5
| | | | | | Change-Id: I83dd005fa3ee3732cb1884deb87c1bfebbbe3237 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@nokia.com> Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
* added new Link class and corresponding operationTim Jenssen2012-05-251-0/+244
- replace read junction link target code with already existing Qt code Change-Id: I6642f19ceb9a907791987ced8e9eacc6ca4f2780 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>