Opened 11 years ago
Last modified 11 years ago
#39803 reopened defect
qt4-mac @4.8.5_0 missing dependency: qt4-mac-sqlite3-plugin
Reported by: | oliver.bock@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | watsodw, cooljeanius (Eric Gallager), macports@… | |
Port: | qt4-mac |
Description
Qt Assistent fails to run due to a missing dependency:
QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: Error reading collection file '/Users/<user>/Library/Application Support/Trolltech/Assistant/qthelpcollection_4.8.5.qhc': Cannot load sqlite database driver!.
Installing qt4-mac-sqlite3-plugin
solves the issue for me.
Change History (15)
comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)
comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | qt assistent sqlite dependency missing removed |
---|
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to michaelld@… |
---|
comment:4 Changed 11 years ago by michaelld (Michael Dickens)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
I'll echo what egall@ said: qt4-mac-sqlite3-plugin has qt4-mac as a dependency, and thus qt4-mac-sqlite3-plugin cannot be a dependency of qt4-mac. I'll add a note to qt4-mac about plugins, as well as update the plugins to 4.8.5.
comment:5 Changed 11 years ago by oliver.bock@…
While I do understand the reasoning, I can't consider this as a proper solution to the problem. This effectively means a primary component of the qt4-mac
port, Qt Assistant, will be broken by default. Of all average/casual MacPorts users, who is going to look into those notes?
I honestly think you should reconsider the package/port structure and probably integrate the SQLite plugin since it's required mandatorily.
JM2C
comment:6 Changed 11 years ago by michaelld (Michael Dickens)
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
I don't use QtAssistant. I just tested it both with and without qt4-mac-sqlite3-plugin (and, the other qt4-mac-*-plugin ports), and I see your point. Since Assistant is installed with qt4-mac, this plugin needs to be installed with qt4-mac as well. Or, I need to find a way to make Assistant its own port, with its own dependencies. I'm glad you found a way to make Assistant work, and pointed this issue out in more detail; it might take me some time to fix it.
comment:7 follow-up: 8 Changed 11 years ago by oliver.bock@…
Sounds good, thank you!
IMHO you should strive for getting qt4-mac-sqlite3-plugin (re)integrated into qt4-mac. Factoring out Qt Assistant doesn't feel right as it's a core component like Designer or Linguist (only Qt Creator has always been a separate product). Why did qt4-mac-sqlite3-plugin have to be separated out anyway? Granted, generally it's nice to have optional components separated from the core but in this case it's not really an optional component. So the best way to solve the issue should thus be to reintegrate it again, shouldn't it?
You could of course make Assistant its own port if all other attempts fail, but only as a measure of last resort.
comment:8 Changed 11 years ago by cooljeanius (Eric Gallager)
Replying to oliver.bock@…:
Why did qt4-mac-sqlite3-plugin have to be separated out anyway?
Because the qt4-mac port is really big and it takes forever to build it, so it doesn't make sense to force everyone to rebuild the entire thing if there's just been a small tweak to one of the sql plugins.
comment:9 follow-up: 13 Changed 11 years ago by larryv (Lawrence Velázquez)
Cc: | david.w.watson@… added |
---|
Has duplicate #39933 for qt4-creator-mac. Similar issue.
comment:12 Changed 11 years ago by larryv (Lawrence Velázquez)
Port: | qt4-creator-mac added |
---|
comment:13 follow-up: 14 Changed 11 years ago by cooljeanius (Eric Gallager)
comment:14 Changed 11 years ago by larryv (Lawrence Velázquez)
Replying to egall@…:
Replying to larryv@…: Except adding a dependency for qt4-mac-sqlite3-plugin to qt4-creator-mac wouldn't create a circular dependency like it would for just-plain qt4-mac.
I had wanted sicherha to discuss a solution with michaelld before qt4-creator-mac was fixed, but I do suppose the added dependency could always be removed later if it were folded into qt4-mac.
comment:15 Changed 11 years ago by larryv (Lawrence Velázquez)
Port: | qt4-creator-mac removed |
---|
Unfortunately that can't be added as a dependency, because that would create a circular dependency loop. Perhaps a note telling users to install it could be added to
port notes qt4-mac
though...