Opened 16 years ago
Closed 16 years ago
#4373 closed defect (wontfix)
g++ -I /usr/include/qt4/ webkit-image.cpp -o webkit-image -lQtCore -lQtWebKit -lQtGui -s -O2
| Reported by: | jstein | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core imagery | Version: | latest |
| Keywords: | webkit-image.cpp wrong compiler line | Cc: |
Description
/* compile with
moc webkit-image.cpp >webkit-image.h
g++ webkit-image.cpp -o webkit-image -lQtCore -lQtWebKit -lQtGui -s -O2
or under Windows:
g++ webkit-image.cpp -o webkit-image -lQtCore4 -lQtWebKit4 -lQtGui4 -s O2
adding the correct directories with -L or -I:
-I C:\Progra~1\Qt\include -L C:\Progra~1\Qt\lib
*/
should be [1]
/* compile with
moc webkit-image.cpp >webkit-image.h
g++ -I /usr/include/qt4/ webkit-image.cpp -o webkit-image -lQtCore -lQtWebKit -lQtGui -s -O2
or under Windows:
g++ webkit-image.cpp -o webkit-image -lQtCore4 -lQtWebKit4 -lQtGui4 -s O2
adding the correct directories with -L or -I:
-I C:\Progra~1\Qt\include -L C:\Progra~1\Qt\lib
*/
and it should include url/author for contact
[1] http://wiki.openstreetmap.org/wiki/JOSM/Plugins/WMSPlugin
Attachments (0)
Change History (4)
comment:1 by , 16 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 16 years ago
| Resolution: | invalid |
|---|---|
| Status: | closed → reopened |
-I ... should not be necessary on a properly configured system. Rather
than fixing the docs (which already state to add -I even only for Windows)
you should contact your package producers to fix it.
What do you mean with "package producer"?
I run a fresh installed debian testing and use Sun Java 6 and downloaded josm-latest.jar
I used this howto
http://wiki.openstreetmap.org/wiki/JOSM/Plugins/WMSPlugin#webkit-image_.28QT.29
to compile it my self
Contact information for a no-owner package is useless. It is in JOSM
packages, so JOSM-bug-tracker is fine.
Then a link to "JOSM-bug-tracker" would be nice.
I did not know about it until i got a hint on IRC
Some Information about what the code should do should be included too.
ps: The ticket system did not accept an reply mail. :(
comment:3 by , 16 years ago
Well, then Debian QT package is defective.
What do you mean with "The ticket system did not accept an reply mail?"
comment:4 by , 16 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | reopened → closed |



-I ... should not be necessary on a properly configured system. Rather than fixing the docs (which already state to add -I even only for Windows) you should contact your package producers to fix it.
Contact information for a no-owner package is useless. It is in JOSM packages, so JOSM-bug-tracker is fine.