Comment 1 for bug 1333012

Revision history for this message
Michael Hofmann (mh21) wrote : Re: [Bug 1333012] [NEW] Error when building: fromAscii' is not a member of 'QString'

Hallo Hans,

could it be that you are trying to compile it with qt 5?

Cheers
Michael

2014-06-22 21:49 GMT+02:00 Hans Schmidt <email address hidden>:
> Public bug reported:
>
> I am trying to compile igotu2gpx on Arch Linux.
>
> I get the following error when starting make:
>
> compiling commands.cpp
> commands.cpp: In member function 'virtual QByteArray igotu::ModelCommand::sendAndReceive()':
> commands.cpp:110:49: error: 'fromAscii' is not a member of 'QString'
> name = IgotuCommand::tr("Unknown (%1)").arg(QString::fromAscii
> Makefile:494: recipe for target '.build/debug/commands.o' failed
> make[1]: *** [.build/debug/commands.o] Error 1
>
>
> Do you have any idea how to fix this? Thanks :)
>
> ** Affects: igotu2gpx
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of
> MobileAction i-gotU USB GPS travel logger Mac/Linux developers, which is
> subscribed to igotu2gpx.
> https://bugs.launchpad.net/bugs/1333012
>
> Title:
> Error when building: fromAscii' is not a member of 'QString'
>
> Status in MobileAction i-gotU USB GPS travel logger Mac/Linux support:
> New
>
> Bug description:
> I am trying to compile igotu2gpx on Arch Linux.
>
> I get the following error when starting make:
>
> compiling commands.cpp
> commands.cpp: In member function 'virtual QByteArray igotu::ModelCommand::sendAndReceive()':
> commands.cpp:110:49: error: 'fromAscii' is not a member of 'QString'
> name = IgotuCommand::tr("Unknown (%1)").arg(QString::fromAscii
> Makefile:494: recipe for target '.build/debug/commands.o' failed
> make[1]: *** [.build/debug/commands.o] Error 1
>
>
> Do you have any idea how to fix this? Thanks :)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/igotu2gpx/+bug/1333012/+subscriptions
>