| Summary: | pro file corrupted: scopes moved on bottom | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Gianni <grm.trash> |
| Component: | Build tools: QMake | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dev |
| Priority: | NOR | ||
| Version First Reported In: | 3.3.2 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
This is a know issue and as far as I know it has been solved in the kdevelop/3.4 SVN branch. To get the source do: http://www.kdevelop.org/index.html?filename=3.4/branches_compiling.html Fixed for KDevelop3.4 |
Version: 3.3.2 (using KDE KDE 3.5.2) Installed from: Ubuntu Packages Compiler: i486-linux-gnu OS: Linux Modifications of .pro file done by Kdevelop interfacecorrupts the .pro file when it contains scopes. In facts scope section is moved down. Example of .pro file: macx{ SOQTLIB += $$system(soqt-config --ldflags) } win32{ SOQTLIB += X:\Coin3D\lib\soqt1.lib \ X:\Coin3D\lib\coin2.lib } unix{ SOQTLIB += -L/usr/local/lib -lSoQt \ -L/usr/lib -lCoin } LIBS += $$SOQTLIB HEADERS += ... SOURCES += ... After adding a class with "Project-> New Class..." the .pro file is corrupted because the platform dependent part (scopes) is pushed down: HEADERS += ... SOURCES += ... LIBS += $$SOQTLIB macx{ SOQTLIB += $$system(soqt-config --ldflags) } win32{ SOQTLIB += X:\Coin3D\lib\soqt1.lib \ X:\Coin3D\lib\coin2.lib } unix{ SOQTLIB += -L/usr/local/lib -lSoQt \ -L/usr/lib -lCoin } Thanks for suggesting at least a work around.