Mixxx won't start when changing Mixxx app name on OSX 10.6.5

Bug #685845 reported by Vittorio Colao on 2010-12-06
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

If app name is changed and on MacOS X 10.6.5, both Mixxx 1.8.2 and 1.9.0beta1 fail to load with a

"Unable to establish a database connection. Mixxx requires QT with SQLite support. Please read the Qt SQL driver documentation for information on how to build it."

I am submitting it as a bug since it is a regression from earlier releases.
Step to reproduce:

1) Install Mixxx under "Application folder"
2) Change app name from "Mixxx" to "Mixxx-1.9.0beta1" ( or to "Mixxx-1.8.2" )

From Mixxx log:

Warning: [Main]: QSqlDatabase: QSQLITE driver not loaded
Warning: [Main]: QSqlDatabase: available drivers:
Debug: [Main]: ()
Debug: [Main]: src/library/trackcollection.cpp DB status: false
Debug: [Main]: QSqlError(-1, "Driver not loaded", "Driver not loaded")

jus (jus) wrote :

Hello Vittorio,
same here (with original name "Mixxx.app").

Create a blank file "qt.conf" in your "Mixxx.app/Contents/Resources/" directory.
Insert the following 2 lines into "qt.conf" and save.

Plugins = plugins


Vittorio Colao (l0rdt) wrote :

Thanks jus,
it worked

jus (jus) on 2011-04-28
Changed in mixxx:
status: New → Confirmed
jus (jus) wrote :

Patch adds qt.conf to MacOS app bundle by default.
Renaming Mixxx.app now working with latest trunk & MacOS 10.6.7

Changed in mixxx:
assignee: nobody → jus (jus)
milestone: none → 1.10.0
jus (jus) wrote :

While the patch works there is certainly a more elegant solution.
Just noticed the "Mixxx.app" path was hardcoded for some reasons here http://bazaar.launchpad.net/~mixxxdevelopers/mixxx/trunk/revision/2376.

RJ Skerry-Ryan (rryan) wrote :

I just added a patch to lp:mixxx to fix the hard-coding of Mixxx.app.

Changed in mixxx:
importance: Undecided → Low
RJ Skerry-Ryan (rryan) wrote :

Confirmed it fixes the issue. Renaming to "Foo.app" works.

Changed in mixxx:
status: Confirmed → Fix Committed
RJ Skerry-Ryan (rryan) on 2011-12-25
Changed in mixxx:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers